Bungee jumping problem matlab code with Runge kutta 5th order

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

Jan
Jan 2018년 3월 28일
편집: Jan 2018년 3월 28일
What are m1, m2, m3 and k1, k2, k3= What is x1, x2, x3? Do you have to write your own Runge-Kutta solver or can you use ODE45? If you really do not have any idea about writing a Matlab program, start with the "Getting Started" chapters of the documentation. Then try to write the code, post it here and ask a specific question. The forum will not solve your homework.
TARIK IPEK
TARIK IPEK 2018년 3월 28일
편집: TARIK IPEK 2018년 3월 28일
I didnt tell it clearly ,sorry. I tried to write it my own sentences but seems didnt make it...
I found the problem the clear one. I hope it works. And I didnt understand the this part of matlab. and there is no one I can take a help ... So I wrote it here.
here is the proof Im struggling with the problem.I read lots of paper but I didnt understand anything..there is nobody to can help me by near me... Believe me I m not trying to make my homework to forum... Have a nice day
ng..
@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?
I didnt want to write it here but I have to now. My dad passed away a month ago and I didnt go to school so missed lots of lesson . I know nothing.One thing I know we will use our own Runge-Kutta method. ode45-fehlerberg is forbidden. Thank you all,for your interests..

댓글을 달려면 로그인하십시오.

답변 (1개)

Abraham Boayue
Abraham Boayue 2018년 3월 28일
편집: Abraham Boayue 2018년 3월 28일

0 개 추천

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.

댓글 수: 1

This problem needs to be solved with Runge-Kutta 5th at matlab. I need matlab codes. Is there any pdf or videos you can recommend me ?

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Programming에 대해 자세히 알아보기

질문:

2018년 3월 28일

댓글:

2018년 3월 29일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by