\begin{align*}
y'' + 3y' + 2y = t, \; y(0) = 0, \: y'(0) = 0
\end{align*}
clear all
syms y t;
sol = dsolve('D2y+3*Dy+2*y = sin(t)','y(0)=0', 'Dy(0)=0');
pretty(sol);
소스
clear all
syms y t;
sol = dsolve('D2y+3*Dy+2*y = sin(t)','y(0)=0', 'Dy(0)=0');
pretty(sol);
결과