Info
Questa domanda è chiusa. Riaprila per modificarla o per rispondere.
second order deferential equation ode45
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
James Tursa
il 28 Ott 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
il 30 Ott 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)
Risposte (0)
Questa domanda è chiusa.
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!