Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
See attached. I'm using MathCAD 9.0.0.0 and am having a few problems...
Thanks,
Brent
Solved! Go to Solution.
problem 1: already was answered by Stuart
problem 2: You cannot format the numeric results of symbolic calculations, but you can limit the precision (in significant digits) symbolic calculations are done by using the modifier float,[nr]. Default is 20.
Unfortunately, 'float' negates the efforts of 'explicit'
So there is probably no solution to your problem except perhaps the possibility to explicitly round all (intermediate) results with "round".
problem 3: Short answer - NO. At least when you have breaking long results of (symbolic) evaluations in mind. Prime only offers options for inserting line breaks at the four basic arithmetic operations when entering terms.
So all you can do is using narrow margins, smaller font size and maybe paper in landscape mode instead of portrait.
problem 4: Already covered by Stuart. The 'unit' "rev" is an angle unit and actually it equals 2 pi. So either you redefine "rev" as being just 1 as suggested by Stuart or you omit the factor 2 pi when calculating P.
BTW, instead of rev/min you also could use the predefined frequency unit "rpm".
Concerning the other numeric discrepancies I also guess that they stem from the fact that your source document is using rounded intermediate results.
Hi, Brent,
Problem 1: You have to construct the overbarred character. The following is one way to get the desired result.
This process would be considerably simplified if there were a means of converting a string directly into an in-place variable.
By curious (or not) serendipity, there was another recent case where such a facility would have been useful. The OP wanted to automatically create some numbered variables (eg, n0, n1, .. n9) whilst obeying the principle of optimal laziness (ie, not doing manual repetitive work when a computer can do that stuff for you).
Stuart
Thank you! overbar and concat worked and I was able to create the charactor. However, for whatever reason, I couldn't get copy and paste to work in MathCAD 9. However, I was able to get it to work in MathCAD 10. It must have been a glitch because I copy and paste all the time in MathCAD. Thank you so much for taking the time to help me!
No worries. I know it worked a couple of years ago, which I think was Mathcad Prime 9 or perhaps 8. This article outlines the process and the steps may differ from those I gave.
One thing I found helped was pasting into the Find editbox (ctrl-f), editing the string there, and then pasting into a definition/evaluation operator.
Stuart
Hi, Brent ( @BB_14100646 ) ,
I'd forgotten that I'd posted about combining characters back in 2020, using Prime Express 6.0.
https://community.ptc.com/t5/Mathcad/Unicode-Combining-Characters/m-p/665621#M190147
Stuart
Hi Brent,
Just had a look at your worksheet,
Problem 4:
It's possibly worthwhile checking the multiplications "by hand" in the worksheet, just to show where any rounding differences and assumptions might lie.
Stuart
problem 1: already was answered by Stuart
problem 2: You cannot format the numeric results of symbolic calculations, but you can limit the precision (in significant digits) symbolic calculations are done by using the modifier float,[nr]. Default is 20.
Unfortunately, 'float' negates the efforts of 'explicit'
So there is probably no solution to your problem except perhaps the possibility to explicitly round all (intermediate) results with "round".
problem 3: Short answer - NO. At least when you have breaking long results of (symbolic) evaluations in mind. Prime only offers options for inserting line breaks at the four basic arithmetic operations when entering terms.
So all you can do is using narrow margins, smaller font size and maybe paper in landscape mode instead of portrait.
problem 4: Already covered by Stuart. The 'unit' "rev" is an angle unit and actually it equals 2 pi. So either you redefine "rev" as being just 1 as suggested by Stuart or you omit the factor 2 pi when calculating P.
BTW, instead of rev/min you also could use the predefined frequency unit "rpm".
Concerning the other numeric discrepancies I also guess that they stem from the fact that your source document is using rounded intermediate results.
That works! Thank you!!!
@BB_14100646 wrote:
That works! Thank you!!!
Actually what works are Stuarts solutions to your problems 1 & 4.
My contributions to problems 2 & 3 basically just were "No, you can't do that." 😉