微分方程d^2y/dt^2-dy/dt+y=1,y0=0,y1=0.怎么用matlab求解
微分方程d^2y/dt^2-dy/dt+y=1,y0=0,y1=0.怎么用matlab求解
日期:2015-04-28 17:31:11 人气:1
>> y=dsolve('D2y-Dy+y==1','y(0)==1','y(1)==0')
y =
1 - (exp(-1/2)*exp(t/2)*sin((3^(1/2)*t)/2))/sin(3^(1/2)/2)
微分方程d^2y/dt^2-dy/dt+y=1,y0=0,y1=0.怎么用matlab求解