4th order Runge-Kutta Method

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 Commento

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

Accedi per commentare.

Risposte (0)

Categorie

Scopri di piรน su Mathematics in Centro assistenza e File Exchange

Tag

Richiesto:

il 17 Dic 2020

Commentato:

il 24 Dic 2020

Community Treasure Hunt

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

Start Hunting!

Translated by