Plotting failed. replace complex values and NaNa by real number.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Plotting failed. replace complex values and NaNa by real number.
Mathcad prime 9.0
This is quite a lot to look at, but I'm struggling with getting this graph as well as the following two to accept my values. I'm relatively new to Mathcad, so any tips would be more than appreciated.
ive tried expanding my values to use less variables, but nothings seems to help this issue.
Solved! Go to Solution.
- Labels:
-
Mechanical_Engineering
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
According your problem that some functions, which were derived via symbolic evaluation, are considered "not defined" when later used numerically:
The cause is that with the symbolic evaluation the units loose their label "Unit" and are treated as unknown variables and so a later numeric evaluation fails.
To cope with this problem PTC has implemented the option "Units/Constants in Symbolics" in the Calculation Options.
You should turn on this option and then recalculate the worksheet.
Actually I don't understand why this option is not turned on per default.
Your unit problem is based an the fact, that your parameter t is used dimensionless and not as dimension time.
That way integration over t does not change the unit and your velocity and displacement are still of dimension acceleration.
You may correct this by multiplying the definition of v and S by seconds (see attached worksheet), but IMHO the better approach would be to use t as time throughout which also means that you would have to write something like sin(t/s) instead of sin(t) or sin (omega t) with omega as frequency.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Check your units. On the x-axis: RG.z(T) gives m/s, instead of inch so cannot be added to r.a * sin(...)
Success!
Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
thank you, that fixed my graphs... now i just need to fix my formulas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @SB_12880552,
I wanted to see if you got the help you needed.
If so, please mark the appropriate reply as the Accepted Solution or please feel free to detail in a reply what has helped you and mark it as the Accepted Solution. It will help other members who may have the same question.
Of course, if you have more to share on your issue, please pursue the conversation.
Thanks,
PTC Community Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
According your problem that some functions, which were derived via symbolic evaluation, are considered "not defined" when later used numerically:
The cause is that with the symbolic evaluation the units loose their label "Unit" and are treated as unknown variables and so a later numeric evaluation fails.
To cope with this problem PTC has implemented the option "Units/Constants in Symbolics" in the Calculation Options.
You should turn on this option and then recalculate the worksheet.
Actually I don't understand why this option is not turned on per default.
Your unit problem is based an the fact, that your parameter t is used dimensionless and not as dimension time.
That way integration over t does not change the unit and your velocity and displacement are still of dimension acceleration.
You may correct this by multiplying the definition of v and S by seconds (see attached worksheet), but IMHO the better approach would be to use t as time throughout which also means that you would have to write something like sin(t/s) instead of sin(t) or sin (omega t) with omega as frequency.
