How to solve Ordinary Differential Equations with Sin(wt) ?

4 ビュー (過去 30 日間)
Zubin Jain
Zubin Jain 2021 年 1 月 25 日
回答済み: Star Strider 2021 年 1 月 25 日
I need to solve an ordinary differntial equation which is non homogenious , how can I got about doing that ?

回答 (1 件)

Star Strider
Star Strider 2021 年 1 月 25 日
I replaced ‘i’ with ‘c’ to avoid problems with imaginary operators:
syms c(t) w t i0
Eqn = 10*sin(w*t) == 0.001*diff(c) + 100*c;
isol = simplify(dsolve(Eqn, c(0)==i0), 'Steps',100);
That does not affect the solution, that being:
where ‘i0’ is the initial condition.

カテゴリ

Help Center および File ExchangeNumeric Solvers についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by