Skip to main content
10-Marble
September 9, 2025
Solved

Type equation = Show values before = Answer

  • September 9, 2025
  • 2 replies
  • 718 views

If I type the equation using variables, Is there a way to get MathCAD to automatically show the values in the equation before it calculates the answer?

For example, I set the variables...

A:=4

B:=3

...then I type the equation...

C:=A+B=

...then MathCAD automatically adds "4+3=7" so it looks like...?

C:=A+B=4+3=7

...Then if I change the variables...

A:=23

B:=45

...MathCAD automatically updates...?

C:=A+B=23+45=68

2 replies

DJNewman
DJNewman18-OpalAnswer
18-Opal
September 9, 2025
PTC Marketer Creo and Mathcad. I run their YouTube channels, some Creo campaigns, and all Mathcad campaigns and communications.
25-Diamond I
September 9, 2025

As @DJNewman  already said you would have to use symbolic evaluation with "excplicit". Instead of mentioning each variable separately you may also just use "explicit, ALL".

Unfortunately the arrow and the keywords showing does not look nice in a report.

In legacy Mathcad (Mathcad 15 and below) we had the option to hide the keywords and show an equal sign instead of the arrow.

So instead of

Werner_E_0-1757455466910.png

we could make it look like

Werner_E_1-1757455489601.png

I vaguely remember having  read here that implementing a similar feature is in the queue for Prime, too. Not sure, though.

 

 

14-Alexandrite
September 11, 2025

<rant>

 

@BB_14100646 you are giving us a simple one.  Show us a doozie where the formula runs off the screen and into the next state! 

 

As an engineer, I really wish that PTC would open up a building code book and look at the sample calculations in there.  They will always find the equation written out, then a line with the substitutions, then possibly a step pausing right before the addition/subtraction of terms, then the answer.  

 

They don't just do this for funโ€”there is a 'flow' to the way calculations are presented..  It's not just for the engineer but the reviewer as well.  Especially in documents where you define certain variables pages before, or if you reuse variables.  And pausing before the final addition of terms allows the engineer and reviewer to see the controlling or minor components that make up the final value. 

 

Yes, we can do all this the long way, but we should not have to conform to PTC, but PTC should conform to the industries that they are marketing to.    Do a word count for "engineering" on the Mathcad homepage.  PTC would serve the industry well if they can facilitate engineering calculations to be simple and have a good flow.   

 

I know they will get there, they need to sit through our complaints first ๐Ÿ˜‰

 

<\rant>

23-Emerald V
September 11, 2025

Welcome to the club.  I've suggested on several occasions over the decades that somebody at PTC (and before that, Mathsoft, Mathcad's original creators)  should try to prepare a paper suitable for publication in, say, Proceedings of the IEEE or Nature, and gain some insight into what features would be helpful to someone wishing to write such papers.

 

Mathcad has (had) the potential to be a through-life mathematical development tool that would take a maths-based engineering idea from back-of-the-beer mat stage, through preliminary development, testing, and formal publication.  But I do not think that PTC have any such ambitions for Mathcad Prime or even the one you describe.  I don't actually know what PTC see Mathcad as becoming or when.   There is a roadmap (up to about Mathcad Prime 13), which includes some useful capabilities, but not as many as I would have liked to see.

 

https://community.ptc.com/t5/Mathcad/Mathcad-Prime-Roadmap-Future/td-p/1010018

 

Stuart