How to solve a second order differential equation using ODE45?

17 ビュー (過去 30 日間)
Molly Jenkins
Molly Jenkins 2020 年 1 月 8 日
コメント済み: Molly Jenkins 2020 年 1 月 8 日
Hi,
I need to solve a second ordder differential equation, i know that usually i would use reduction of order but as i also have a first order term in my equation i do not know how to do this.
my equation is:
350y''+45y'+y=-9/8000*t
thanks

回答 (1 件)

Steven Lord
Steven Lord 2020 年 1 月 8 日
Take a look at the van der Pol equation example on this documentation page. That ODE looks very similar to yours, though the way it's written initially in the example uses the variable name y1 instead of y.
The expression for y2' (which is y1'') is a function of both y1 and y2 (which is y1'). You can use the same approach for your equation.

カテゴリ

Help Center および File ExchangeOrdinary Differential Equations についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by