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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

Plot won't evaluate unless a calculated function explictly defined

Einhorn
1-Newbie

Plot won't evaluate unless a calculated function explictly defined

Hello,

Please see the attached MCAD worksheet.

The function alpha (t) has a variable alpha max that is previously defined. Alpha max carries units with it and those units appear correct. In the sheet I can only get the plot for omega to work by manually setting Alpha max to a value with the correct units (1/s^2).

I cannot figure out why the program is doing this. If anybody can assist that would be greatly appreciated!

Thank you,

Mike

10 REPLIES 10

The symbolic solver doesn't like units. I suggest you tackle the problem as in the attached.

Alan

Thanks Alan. I see. I can get it to run if I do those substitions. I can also get it to run if I make it dependent on T. I would like to not have to do this so I can see the explicit values of the evaluated function without the variables in them.

Michael Einhorn wrote:

Thanks Alan. I see. I can get it to run if I do those substitions. I can also get it to run if I make it dependent on T. I would like to not have to do this so I can see the explicit values of the evaluated function without the variables in them.

I guess Wayne is using M15 (M010). Looks like you will have to upgrade to that if you want to see the explicit values all the time!

Alan

Yes, I am using M010

wayne
3-Visitor
(To:Einhorn)

Am I missing something?
It works for me (M15)

tmp9.gif

Einhorn
1-Newbie
(To:wayne)

Hello Wayne,

I am running M14...I wonder if that is the issue?

Interesting! This is what I get in M15 (F000):

Org.PNG

There is a small difference in the way the solution is expressed. My modified approach gives:

Mod.PNG

Looks like the only difference in the graph is due to the different range for t.

Alan

I get the same, I just changed the range because the prior graph started at t=0. But I could plot -10 to 10 as well.

Attached sheet with active graph and a picture of the graph I get?

Wayne Reid wrote:

I get the same, I just changed the range because the prior graph started at t=0. But I could plot -10 to 10 as well.

Attached sheet with active graph and a picture of the graph I get?

Your sheet gives the error in my version of M15 also. You must be using the updated version.

Alan

All, I just installed M15 Date code M010 and that fixed the issue.


Thanks!

Mike

Top Tags