Hi dear community,
I want to solve my equation by the Runge kutta 4rth order method. Can somebody guide me to solve my problem please?
Hi dear community,
I want to solve my equation by the Runge kutta 4rth order method. Can somebody guide me to solve my problem please?
Using NDSolve, specify Method->“ImplicitRungeKutta” or “ExplicitRungeKutta”
how sir. Can u elaborate little bit more..
tMax = 10; f = Sin[t];
nds = NDSolve[{x’‘’‘’[t] == f, x’‘’‘[0] == 0, x’‘’[0] == 0,
x’‘[0] == 0, x’[0] == 0, x[0] == 0}, x, {t, 0, tMax},
MaxSteps → Infinity,
Method → {“ImplicitRungeKutta”, “DifferenceOrder” → 20},
InterpolationOrder → All];
crackle → Evaluate[x’‘’‘’[tMax] /. nds][[1]]
velocity → Evaluate[x’[tMax] /. nds][[1]]
position → Evaluate[x[tMax] /. nds][[1]]
Hello, I have the same thread too. Please check the discussions created by me.
Thanks
I think you are referring to discussion How Do I combine NDSolve (RungeKutta4thOrder) and Loop(For or Do) together? .
Please include the URL and/or discussion title when adding a reference to another thread.
Thank you, I will keep that in mind. ![]()
I want to solve these equations by the Runge kutta method can you check it out.