How to solve Ordinary Differential Equations with Sin(wt) ?
4 ビュー (過去 30 日間)
古いコメントを表示
I need to solve an ordinary differntial equation which is non homogenious , how can I got about doing that ?
0 件のコメント
回答 (1 件)
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.
0 件のコメント
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!