Undefined variable MATHCAD HOMEWORK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Undefined variable MATHCAD HOMEWORK
Could you graph this eq. ? Always says undefined variable
- Labels:
-
Math Homework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
You need to move your function definition after your definition of t1. Mathcad evaluates a worksheet from left to right and then top to bottom. You have defined the function before t1 so Mathcad hasn't yet evaluated t1, hence the error.
Stuart
PS, you should have asked your question as a "Discussion". By asking it as a "Document", other users can't post worksheets in response to your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Apart from what Stuart already said you should either assign L a value or make L a second argument of your function.
Otherwise L is taken as the volume unit liter, which sure is not what you intended.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
For the future - you can create a new discussion by using: http://communities.ptc.com/community/post!input.jspa?containerType=14&container=2003
