Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
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!
Solved! Go to Solution.
Thank you Alan!
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
then call dxdt(2) (say) to get specific values.
Alan