Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hello,
when I use solve, is there any way to hide/format the solve output? Namely, printing "-> 24.109V" in the following example instead of the crazy fractional output that bloats the document and reduces it's readability?
Thank you all.
Solved! Go to Solution.
Only the numerical algorithms in Mathcad understand units; "solve" doesn't.
Best to define function before specifying data. For example:
Alan
Only the numerical algorithms in Mathcad understand units; "solve" doesn't.
Best to define function before specifying data. For example:
Alan
If you really want the symbolic to yield a nicer result, you have to teach the symbolic a little bit about the units you are using.
Main problem in your case seems to be the inability of the symbolic to cancel mA and A as they are treated as two completely different variables.
You can teach the symbolic how to deal with them either by using the substitute modifier or by redefining one of the units sing the other (does not work always as desired).
You may also imit the number of significant digits by using the "float" modifier, but this should be done with care (or avoided) as "float" affects not only the displayed result, but the accuracy of the whole calculation!
Too bad that I cannot mark multiple solutions (as it seems) because this one is also very useful.
In my particular case, the 'substitute, solve' works the best as K.1, K.2 also come from a solve and as far as I can tell, I cannot control their units afterwards.
Good thing is that I can also use the 'substitute, solve' in the original (K.1 K.2) calculation, which makes their result look better and then I can do just 'solve' for V.140A (I'm sure you would advise me to do it this way if I had shown the full calculation, which I thought to be irrelevant).