MathCAD Prime 9.0 "instabiities"
- May 27, 2025
- 3 replies
- 4520 views
Dear all, I’m experimenting since a while, with MathCAD Prime 9.0 and a specific spreadsheet, what I’d classify as “numerical instabilities”.
I’ll explain better.
I’m dealing with a complex spreadsheet; this last:
- Reads from an Excel file the input data
- Recalls (include command) a spreadsheet defining a function of 6 variables
To be noticed that the above points have not created any trouble in previous spreadsheets
3. Involves recursive formulas with matrix multiplications and inversion
4. Involves the solution of a transcendental equation deriving from the determinant of a matrix; this last matrix is obtained at the end of the recursive process (hinted before
5. Is calculated using the options:
- Calculation/Calculation Options/ Multithreading;
- TOL & CTOL @ 10-7
The spreadsheet, in itself, is not that big (around 350 Kb).
Many different issues are highlighted.
First, with plotting (preliminary to roots search).
The plotting of the transcendental equation did not work. I created instead two vectors (see Fig.1 in the attached report). It worked once (and I could see the range where the first root is); but re-opening the worksheet the vectors were recalculated and ended in errors (see Fig.1 in the attached report)
Second, with root search.
The MathCAD find and root algorithms are not working at all. I could find (chrome-extension://efaidnbmnnnibpcajpcglclefindmkaj/https://www.msme.us/2012-1-2.pdf) an algorithm “intermittently” working….I mean, the algorithm converges to a solution (reasonably close to the expected one). BUT re-opening the spreadsheet, the root is often recalculated (!); and, sometimes, a solution is not even found (!). In this last case, I re-launch the calculation changing the range for root search (1 Hz in Fig.2 of the attached report ) or simply re-writing the values (in this case 300Hz or 1Hz – Fig.2)
Third, with “contradictory” reports:
See Fig.3 of the attached report
In the Fig.3, on the left hand side, you can notice that the function e0707 is reporting an error (when calculated with Sol1_mR value); but the same calculation gives a result, on the right hand side…on the right hand side, instead, the function e0708 reports an issue….
But BEFORE (in the spreadsheet), the same functions are calculated without any problem (?!?) – see Fig.4 in the attached report.
Is anyone ever experienced this kind of issues with MathCAD (Prime 9.0 variant in particular)?
Some suggestions to alleviate these issues and/or explanations of what is happening?
Personally, I feel the issues are a mix of inexperience with some algorithms (and not “lean” spreadsheet, maybe…) and real tough calculations.
Obviously I’m available for any further question.
I’ll try to attach to attach also the spreadsheet and the needed files if really necessary…
Many thanks and best regards





