Info
Cette question est clôturée. Rouvrir pour modifier ou répondre.
second order deferential equation ode45
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi,
Can any one please guid how to solve the below equation using ode45, knowing that C is constant
Regards
![12345.JPG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/245309/12345.jpeg)
2 commentaires
James Tursa
le 28 Oct 2019
What have you done so far? What specific problems are you having with your code? Have you looked at the 2nd Order example in the ode45 doc?
Marco Feder
le 30 Oct 2019
Just write your equation as a first order system, so in the end you'll have
, where
and F the rhs. Then just look at ode45 documentation as suggested in the comment above
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/245697/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/245698/image.png)
Réponses (0)
Cette question est clôturée.
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!