Bungee jumping problem matlab code with Runge kutta 5th order
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
We've been given 3 equation to solve a bungee jumping ODE. How can I solve it by programming a runge kutta 5'th order method ? i know how to solve it by using a pen and paper but i can not understand how to program it ? Please any one can solve to me this problem ? i dont have any idea about how to use ODE and i read the help in matlab but did not understand how to solve this equation please any one can solve this and help me with it ?
5 comentarios
Jan
el 28 de Mzo. de 2018
@Tarik: Do you have to write your own Runge-Kutta solver, or are you allowed to use ODE45? Do you mean a Runge-Kutta-Fehlerberg method using 4th and 5th order for a step size control?
Did you learn how to convert a 2nd order differential equation to a system of 1st order? Did you hear some lessons about numerics?
Respuestas (1)
Abraham Boayue
el 28 de Mzo. de 2018
Editada: Abraham Boayue
el 28 de Mzo. de 2018
Were you specifically asked to use the 5th order? I find this as a lot of work in typing. Is this the formulation that you are trying to implement? https://youtu.be/soEj7YHrKyE If yes, could you type the equations based on the formula in the video and post it in matlab code format? Or share the exact 5th order formula that you want to use. I'm not trying to alter your problem, but the rk4 is the one most used. If you don't have to use the 5th order, I would recommend the 4th order instead.
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!