cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Symbolic definition?

snã¦ss
8-Gravel

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

ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:RichardJ)

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

View solution in original post

5 REPLIES 5
RichardJ
19-Tanzanite
(To:snã¦ss)

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

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?

RichardJ
19-Tanzanite
(To:snã¦ss)

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

LucMeekes
23-Emerald III
(To:RichardJ)

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

RichardJ
19-Tanzanite
(To:LucMeekes)

True, that would work

Announcements

Top Tags