This variable is undefined. Check that the label is set correctly. Express Prime
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
Solved! Go to Solution.
- Labels:
-
Mechanical_Engineering
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thank you for your response! That was, in fact, the problem. Apologies for not having said so earlier--coursework has kept me very busy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@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).
“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.
