Hmm. Don't know what went wrong there ... try this version.http://files.engineering.com/getfile.aspx?folder=d9c075ae-318d-40f5-9d4c-b3c365f8a2bb&file=eng_tips_-_Periodic_Function.mcdx
You need to add units to your comparison values. I'm not quite sure why but I found I needed to vectorise the function to get it to plot properly ...http://files.engineering.com/getfile.aspx?folder=8e86aae1-79a1-4388-bece-4c572c170187&file=eng_tips_-_Periodic_Function.mcdx
Interestingly, Mathcad 15 M040 (the latest release) also gives exactly 0 for both integer and floating-point and for both numeric and symbolic processors.
Yes. But Mathcad is adequate for many cases. It would be better if they ditched the limited version of Matlab's symbolic processor...
You need to define your system of equations in a different way. The standard method is to create a single state vector from all of the DEs.
You can also incorporate the parameters A, B and K into the DE, setting their derivatives to be 0.
Read the Help on rkfixed for further...
If the parameters never change, then you're probably best off leaving them in the worksheet and making a Template of your "minimal" worksheet.
Your listbox should return an integer. In which case the easiest way in M14 to get a row from an array is to transpose it and use the column operator...
If that's the case (and it makes sense upon a re-reading of the question) and the 14-parameter set is uniquely defined by the (one of < 256) concrete class, then there are several ways to skin the cat.
One way is to define the characteristics inside the listbox (script) as an array (or 14...
I think you should be able to add items to the listbox in M14. Right-click on the listbox, choose Edit Script from the various options. At the top of the code, as IRStuff says, you should see a few lines of VBScript along the lines of:
Rem Add Strings here as needed
ListBox.AddString("One")...
Have you tried using the max function?
If you need to find the index number of an element in a vector or array, then use the match function. To find the index of the maximum value in a vector v, use match(max(v),v).
Hi,
Bit late in the day, I know but the attached might be of some help to you. You appear to be on the right track for returning all of the population matrices. As for plotting, it depends on what you want to show...
No, you didn't do anything wrong but, as others have pointed out, this is due to Mathcad calculating the determinant using a numerical algorithm to calculate the answer you got.
Mathcad is effectively two processors working on a single worksheet: the Numeric Processor and the Symbolic...
1) Establishing formats in templates is very easy to do in Prime. You can change your default formats for text, math, document layout, etc, and save that as a template file. Then you can tell Prime to open that template as the new default every time you open Mathcad Prime
How does this differ...
Which version of Mathcad have you got?
http://www.eng-tips.com/viewthread.cfm?qid=338962
If you don't mind losing the differing colours and y-axis labelling, then you could create a matrix with each pump curve in a separate column, then plot the matrix in a 2D (x-y) plot.
If you intend to upgrade, go for version 15. Not only is it the currently supported version, but it is also, in my opinion, the best of the post V11 versions. If your needs are limited as you describe, then you might like to try Prime 2. It's still not up to M11/M15 standards, but it still...
Sorry, did I give that impression? No, they ADDED the capability in M12 - it's not in Mathcad 11 (or, at least, it's not in mine!). It's definitely in M15 and Mathcad Prime 2.0.