second order differential equation are arranged in ring
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
mi (d^tδi/dt^2) + di(dδi/dt) = pmi − b sin(δi) − bint [sin(δi − δi+1) + sin(δi − δi−1)] where mi=1,di=0.3,b=1,bint=100,pmi=0.95 and i=1 to 1000. intial conditions are 1. how do i solve it. second order derivative term is mi(d^tδi/dt^2) and first order is di(dδi/dt).
0 Kommentare
Antworten (1)
John D'Errico
am 22 Jun. 2017
Your problem is this is not a classic differential equation. It is a delay-difference equation, also known as a difference-differential equation.
The standard ODE solver tools like ODE45 are not able to handle it. Instead, you need to use tools designed to solve that problem, such as dde23.
https://www.mathworks.com/help/matlab/delay-differential-equations.html
There will be examples in the docs. Read them.
2 Kommentare
Torsten
am 22 Jun. 2017
My guess is that it is a system of ODEs for delta(1),delta(2),...,delta(1000).
ODE45 seems applicable to solve it.
Best wishes
Torsten.
satyavir yadav
am 23 Jun. 2017
yes sir ode15s can solve it but how can i write function for this problem.
Siehe auch
Kategorien
Mehr zu Ordinary Differential Equations finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!