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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Need help with ODEsolve

JCrenshaw
1-Newbie

Need help with ODEsolve

I'm having trouble using ODEsolve in MC14. I've gone through the examples, and they work fine. But the first problem I tried for real, doesn't work.

The solve block has only two lines, and only the first derivative of one variable. But I'm getting the dread "This variable is undefined" error.

I'm attaching the file. Any help would be appreciated.

By the way, I've selected the adaptive solver.

Jack Crenshaw

ACCEPTED SOLUTION

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

If you really want v'(M) to be dependent on f(v) you have to write it as f(v(M)).

08.11.png

See attached.

View solution in original post

2 REPLIES 2
Werner_E
25-Diamond I
(To:JCrenshaw)

If you really want v'(M) to be dependent on f(v) you have to write it as f(v(M)).

08.11.png

See attached.

Ah! Got it!!!! Thanks!!!!!!

Announcements

Top Tags