Get Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Community
- :
- PTC Mathcad
- :
- PTC Mathcad
- :
- (Mathcad 15.0) Changing solve output format

Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

07-08-2020
07:21 AM

07-08-2020
07:21 AM

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.

Labels:

1 ACCEPTED SOLUTION

Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

07-08-2020
08:17 AM

07-08-2020
08:17 AM

Only the numerical algorithms in Mathcad understand units; "solve" doesn't.

Best to define function *before* specifying data. For example:

Alan

3 REPLIES 3

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

07-08-2020
08:17 AM

07-08-2020
08:17 AM

Only the numerical algorithms in Mathcad understand units; "solve" doesn't.

Best to define function *before* specifying data. For example:

Alan

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

07-08-2020
10:10 PM

07-08-2020
10:10 PM

Re: (Mathcad 15.0) Changing solve output format

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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Notify Moderator

07-09-2020
03:07 AM

07-09-2020
03:07 AM

Re: (Mathcad 15.0) Changing solve output format

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).