如何用MATLAB 求微分方程d^y/d(x)^2+2*dy/dx +2y=0在满足y(0)=1,y(0)=0时的解?

问题描述:

如何用MATLAB 求微分方程d^y/d(x)^2+2*dy/dx +2y=0在满足y(0)=1,y(0)=0时的解?
在线跪求!

syms x y;y=dsolve('D2y+2*Dy+2*y=0','y(0)=1','Dy(0)=0')解得y = exp(-t)*cos(t)+exp(-t)*sin(t)