NON-AUTONOMOUS ODE
Ältere Kommentare anzeigen
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 Kommentare
Jan
am 23 Aug. 2022
Numerically or symbolically?
Doaa Mahmoud
am 23 Aug. 2022
syms y(t)
sol = dsolve(diff(y,2)==-8*y-4*diff(y)+10*cos(2*t));
sol = simplify(sol)
diff(sol,2)-(-8*sol-4*diff(sol)+10*cos(2*t))
Doaa Mahmoud
am 23 Aug. 2022
Doaa Mahmoud
am 23 Aug. 2022
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)
Doaa Mahmoud
am 23 Aug. 2022
Antworten (0)
Kategorien
Mehr zu Numerical Integration and Differential Equations finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!