Why so strange result of mean, gmean and hmean?
Re: Why so strange result of mean, gmean and hmean?
I just tried mean, etc, in Mathcad 15 and Prime 3.0 and I got an error message in both cases. This is as it should be, because the help clearly states "The arithmetic mean accepts complex and negative values, while the geometric and harmonic means accepts only positive real numbers."
You didn't tell us which version of Mathcad or Prime you had used.
So either its a newly introduced bug in Prime 3.1 (in case you used that version) or you had used your own, user-defined functions for the various means.
In the latter case you should know yourself why you experience this effect, in the first case you should open a case and report the error to PTC.
Another explanation could be that you confused the first of May with April Fools' Day and your "strings" are special variable names containing the appropriate numbers ;-) But I guess this is not the case this time - we would see a number 1 on the RHS if you did it that way. On the other hand - if that were a serious question you probably would have posted the worksheet and not just a pic.
Re: using MathCad 15, how to break equation that goes for several pages into a lower line on the same page?
hi, what if there is no + sign in the equation where i need to break the equation?
Thanks for the answers in advance.
Re: Why so strange result of mean, gmean and hmean?
Converting to ASCII? "d" = 100, "s" = 115, "m" and "f" in between.
Re: Why so strange result of mean, gmean and hmean?
Fred Kohlhepp wrote:
Converting to ASCII? "d" = 100, "s" = 115, "m" and "f" in between.
Judging from Valerys pic he was using good old Mathcad 15 and it seems that the various built-in mean functions don't accept string arguments.
So I guess its one more of his jokes/puzzles or whatever you may call it. Maybe using a user written mean function overriding the built-in ones.
I think we will see after a while when he closes the thread by giving the correct answer ;-)
Re: Converting MathCad to C or C++
With the Mathcad Prime 3.1 SDK can I convert worksheets directly to C? It seems many of the commands between C and Mathcad are similar.
Re: Converting MathCad to C or C++
I haven't even looked at the Prime 3.1 SDK, but I am >99.99% certain that the answer to your question is "no".
Element by element Multiplication
I have 2 matrices that I need to multiply in the same way we normally add matrices.
a=(1,3,5)
b=(2,4,6)
a*b=(2,12,30)
How can I get this result? I want to multiply the first row with the first row and make that the new first row, etc.
Re: Element by element Multiplication
Look up the "vectorize" operator in your version of Mathcad. The vectorize operator is intended for precisely this kind of situation.
Stuart
(I would have posted an example, but I'm without Mathcad at the moment)
Re: Element by element Multiplication
Re: Need MSXML 4.0 SP3 to install Mathcad 15 M10 on Windows 10?
Download the installer for the latest release, M045, and try that: Thank You for Your Interest in PTC Mathcad 15 | PTC
Re: Need MSXML 4.0 SP3 to install Mathcad 15 M10 on Windows 10?
Thanks, I will try that.
Mathcad 15 recover temp file
Hi, I have a user that her Mathcad crash with the out of memory error but unfortunetly her files goes to 0kb. I check on the autosave folder and the only files I see was old files (2015) Is there a way to recover her file?
thx!
Pierre-Luc
Re: Mathcad 15 recover temp file
Are there any ".tmp" files in the folder where her file was previously saved? If so, I think you can just change the file extension to ".xmcd" and open it.
This might only work if Mathcad crashed while trying to save.
Re: Mathcad 15 recover temp file
Also, make sure Autosave is turned on (Tools, Preferences, Save).
Re: Mathcad 15 recover temp file
nop, only old .xmcd files....
Re: Mathcad 15 recover temp file
Yes, we also check that, it's turned on to save every 5 minutes
Re: Mathcad 15 recover temp file
Is there another folders that Mathcad stores its files temporary when he crash?
Re: Mathcad 15 recover temp file
No. Although Mathcad has an autosave, it saves only to the active file. Bad practice, but better than Prime I guess, which simply has no autosave at all.
I have learned the hard way, and if I'm working on a new Mathcad file for which I have no backup I make frequent copies using Windows Explorer. That won't help in this case, but it's a practice that might avoid grief in the future.
Re: Need MSXML 4.0 SP3 to install Mathcad 15 M10 on Windows 10?
I am not sure where I find the installer for Mathcad 15 M045. Thanks again for your help.