Using Ode45 to solve differential equation with time dependent variable

1 回表示 (過去 30 日間)
Elif Doga Aycicek
Elif Doga Aycicek 2021 年 5 月 25 日
回答済み: Aghamarsh Varanasi 2021 年 5 月 28 日
Solve the differential equation in 30 steps up to the 15th minute, D2x+0.9*Dx+0.1*x=3*sin(t),initial conditions are x(0)=10 and Dx(0)=5.
  1 件のコメント
James Tursa
James Tursa 2021 年 5 月 25 日
What have you done so far? What specific problems are you having with your code?

サインインしてコメントする。

回答 (1 件)

Aghamarsh Varanasi
Aghamarsh Varanasi 2021 年 5 月 28 日
Hi,
You can refer to this MathWorks documentation link to solve a Seconf-Order Differential equation.
Hope this helps

カテゴリ

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