How do I solve a second order ODE with boundary conditions?
4 ビュー (過去 30 日間)
古いコメントを表示
I'm trying to solve the following differential equation:
y''+y'-6y=20e^t, y(0)=0, y'(0)=1
3 件のコメント
Jan
2018 年 2 月 5 日
Then convert the equation of order 2 to a system of equations of order 1 at first. (As Wikipedia or your text book for the simple details on demand.) Then write the function in Matlab and provide it to ode45 (assuming that the equation is not stiff). Try it and then come back to the forum, if you have a specific problem.
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Ordinary Differential Equations についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!