Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hey,
When I tried to solve a second order differential equation with odesolve I get the above mentioned error. First order ode's work fine.
Solved! Go to Solution.
Something like this?
The 2nd order differential equation can be written as the d/dt style, but I think that the initial condition needs to be in the x' format for prime to understand.
Probably explains why the 1st order ode worked as you don't need the initial condition for the differential term.
Regards
Andy
Something like this?
The 2nd order differential equation can be written as the d/dt style, but I think that the initial condition needs to be in the x' format for prime to understand.
Probably explains why the 1st order ode worked as you don't need the initial condition for the differential term.
Regards
Andy
Thank you very much! this worked!
Because mathcad did nog recognize the error I had no idea.
Using some advanced techniques (A classical math problem: differential equations) I've determined that the solution to your DE, for s=2, is:
Maybe this helps.
Luc