Skip to main content
8-Gravel
Mar 17, 2015 10:43 PM UTC
Solved

Symbolic definition?

Hi!

I'm a bit new to the symbolic "abilities" in Mathcad 14. Is it possible to define something symbolic?

for example:

I would like to define:

Ma:= P*X - F*D and Mb:=P*X

and use the definitions in further symbolic calculations without have errors such as "this variabl is undefined" popping up.

best regards

LucMeekesAnswer
23-Emerald V
Mar 19, 2015 10:19 PM UTC

Yes there is.

Define P, X, F and D all with values and then symbolically undefine them:

P:= 1 P:=P

X:=1 X:=X etc.

Then the numeric processor will see them as defined, while the symbolic processor sees them as undefined.

Success!
Luc

5 replies

19-Tanzanite
Mar 18, 2015 12:05 AM UTC

Actually, you can use the definitions in later symbolic calculations. The error messages about undefined variables are the numeric processor complaining, but the symbolic processor doesn't care (usually, anyway; there are exceptions).

Translate
snã¦ss8-GravelAuthor
8-Gravel
Mar 18, 2015 9:52 AM UTC

Thank you very much! Saved me a lot of time calculating symbolically (Castigilianos Theorem) ! you wouldn't by any chance know if I can turn the red color off of the variables with the error message?

Translate
19-Tanzanite
Mar 18, 2015 12:32 PM UTC

Sorry, but there's no way to get rid of the red or the error messages.

Translate
LucMeekes23-Emerald VAnswer
23-Emerald V
Mar 19, 2015 10:19 PM UTC

Yes there is.

Define P, X, F and D all with values and then symbolically undefine them:

P:= 1 P:=P

X:=1 X:=X etc.

Then the numeric processor will see them as defined, while the symbolic processor sees them as undefined.

Success!
Luc

Translate