NON-AUTONOMOUS ODE

9 次查看(过去 30 天)
Doaa Mahmoud
Doaa Mahmoud 2022-8-23
How can I solve system of non-autonomous ordinary differentional equations ?
one example for what I am asking for ,
dx1/dt=x2
dx2/dt= -8*x1+ -4*x2+10*cos(2t)
I'll appreciate your help,
Warm Regards!
  7 个评论
Torsten
Torsten 2022-8-23
编辑:Torsten 2022-8-23
syms y(t)
dy = diff(y,t);
sol = dsolve(diff(y,2)==-8*y-4*diff(y)+10*cos(2*t),[y(0)==1,dy(0)==0]);
sol = simplify(sol)
sol = 
Doaa Mahmoud
Doaa Mahmoud 2022-8-23
thanks alot for your help

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Ordinary Differential Equations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by