Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Translate the entire conversation x

This variable is undefined. Check that the label is set correctly. Express Prime

LK_12809976
2-Explorer

This variable is undefined. Check that the label is set correctly. Express Prime

Hey all,

I'm a mech e student using mathcad for the first time for my thermodynamics class.

Been having a tricky time figuring things out, and already hit a wall. Not really sure how to figure this out, and I don't recall seeing any previous topic that helped, so any assistance would be appreciated.

Attached is a screenshot of the issue.

what do.png

ACCEPTED SOLUTION

Accepted Solutions
Werner_E
25-Diamond I
(To:LK_12809976)

You have to type a multiplication sign (*) between alpha and x as otherwise alphax is seen as a variablename on ot own which, of  course, is nowhere defined in your sheet. Same for beta*y and gamma*z.

And of course you must have defined values for x, y and z as otherwise you will again see the error message because of the undefined variable x.

In case you ant rho be seen as a function in x,y and z, you will have to write rho(x,y,z):= ...

For future question its abetter idea to attach the worksheet itself additionally to the provided screenshot. If you don't use the latest version of Prime you should also state which version of Prime you are using.

View solution in original post

4 REPLIES 4
Werner_E
25-Diamond I
(To:LK_12809976)

You have to type a multiplication sign (*) between alpha and x as otherwise alphax is seen as a variablename on ot own which, of  course, is nowhere defined in your sheet. Same for beta*y and gamma*z.

And of course you must have defined values for x, y and z as otherwise you will again see the error message because of the undefined variable x.

In case you ant rho be seen as a function in x,y and z, you will have to write rho(x,y,z):= ...

For future question its abetter idea to attach the worksheet itself additionally to the provided screenshot. If you don't use the latest version of Prime you should also state which version of Prime you are using.

Thank you for your response! That was, in fact, the problem. Apologies for not having said so earlier--coursework has kept me very busy.

LucMeekes
23-Emerald III
(To:LK_12809976)

Prime complains that the variable ax is not defined. You probably forgot to type a multiplication symbol  ( * ) between the a and the x...

Maybe same for beta and y and gamma and z.

In general it's best if you attach the Prime worksheet AND state which version you are using...

Success!

Luc

 

SPaulis
14-Alexandrite
(To:LK_12809976)

@LK_12809976, also consider using "Scaling" (Ctrl-Shift-U) instead of multiplication (*).  It is actually identical to the 'asterisk' multiplication but does not show the dot.  With all the textbooks and papers showing multiplication as implied (ax­² instead of a­•x²), I do not understand why Mathcad defaults to the visible dot when you press the asterisk.  I only use the visible dot when I am multiplying two numbers (i.e. 2•5a).

Shawn P.
“It’s OK to fall in love with your heart. But, when it comes to making engineering decisions, don’t design with your heart.” – Blodgett, Omer W.
Announcements

Top Tags