Info
この質問は閉じられています。 編集または回答するには再度開いてください。
second order deferential equation ode45
3 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
James Tursa
2019 年 10 月 28 日
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
2019 年 10 月 30 日
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)
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!