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

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Solving ODE

SFares
13-Aquamarine

Solving ODE

Hello,

in the attached sheet, please scroll down to red arrow, i am trying to solve this differential equation. i tried to follow the steps in the Help file. i am not sure what i am doing wrong. Thank you!

ACCEPTED SOLUTION

Accepted Solutions

See attached.

Alan

View solution in original post

5 REPLIES 5

See attached.

Alan

SFares
13-Aquamarine
(To:AlanStevens)

Thank you Alan!

SFares
13-Aquamarine
(To:AlanStevens)

Alan,

just a follow up a question. if i try to find x(2) value and x`(2), the value i am getting for x(2) does not match the answer in the example highligted in yellow. and i am not sure how to determine velocity x`(2).

If you check the derivative of the theoretical solution at t = 0 you will find it isn't 0.15 as stated; it is 0.444938. Use this as your initial value for x`(0) and you will get the same value at t = 2 as given in the theory.

To get dx/dt after the solve block, you need to define the function

dxdt.PNG

then call dxdt(2) (say) to get specific values.

Alan

I think it will be better solve with Prime with UNITS:

SolvingODE.png

Announcements

Top Tags