second order differential equation are arranged in ring
    4 visualizzazioni (ultimi 30 giorni)
  
       Mostra commenti meno recenti
    
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 Commenti
Risposte (1)
  John D'Errico
      
      
 il 22 Giu 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 Commenti
  Torsten
      
      
 il 22 Giu 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
 il 23 Giu 2017
				yes sir ode15s can solve it but how can i write function for this problem.
Vedere anche
Categorie
				Scopri di più su Ordinary Differential Equations in Help Center e File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



