4th order Runge-Kutta Method

7 views (last 30 days)
Adil Kadhim
Adil Kadhim on 17 Dec 2020
Commented: Arpit Bhatia on 24 Dec 2020
I want to solve this equation for project
๐”‰(๐‘ฆ1,๐‘ฆ2,โ€ฆ,๐‘ฆ๐‘+2,๐‘ก)=๐‘„(๐‘ฆ1,๐‘ฆ2,โ€ฆ,๐‘ฆ๐‘+2,๐‘ก)โˆ’๐ถ(๐‘ฆ1,๐‘ฆ3,โ€ฆ,๐‘ฆ๐‘+2)๐‘ฆ22๐ฝ(๐‘ฆ1,๐‘ฆ3,โ€ฆ,๐‘ฆ๐‘+2) using
Excess Differential Equations Method
Secondary coordinates are used in the equation of motion and N+2 first order differential equations are solved at each time step where N is the number of the secondary coordinates.
๐‘ฆ1=๐‘ž โ‡’ ๐‘ฆฬ‡1=๐‘žฬ‡=๐‘ฆ2
๐‘ฆ2=๐‘žฬ‡ โ‡’ ๐‘ฆฬ‡2=๐‘žฬˆ=๐”‰
๐‘ฆ3=๐œ™1 โ‡’ ๐‘ฆฬ‡3=๐œ™ฬ‡1=๐‘”1๐‘žฬ‡=๐‘”1๐‘ฆ2
๐‘ฆ4=๐œ™2 โ‡’ ๐‘ฆฬ‡4=๐œ™ฬ‡2=๐‘”2๐‘žฬ‡=๐‘”2๐‘ฆ2
: : :
๐‘ฆ๐‘+2=๐œ™๐‘ โ‡’ ๐‘ฆฬ‡๐‘+2=๐œ™ฬ‡๐‘=๐‘”๐‘๐‘žฬ‡=๐‘”๐‘๐‘ฆ2
I hope for your help
  1 Comment
Arpit Bhatia
Arpit Bhatia on 24 Dec 2020
Hi Adil,
Please include some information on what you have tried as of now and what portions do you specifically need MATLAB related help in. Refer to the following post on how to seek help on homework questions: https://www.mathworks.com/matlabcentral/answers/8626-how-do-i-get-help-on-homework-questions-on-matlab-answers

Sign in to comment.

Answers (0)

Categories

Find more on Mathematics in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!