怎么用MATLAB求解如Dy = y+1/y 的微分方程
怎么用MATLAB求解如Dy = y+1/y 的微分方程
日期:2010-05-02 08:40:56 人气:1
>> syms x y0
>> y=dsolve('Dy=y+1/y','y(0)=y0','x')
y =
(-1+exp(2*x)*(1+y0^2))^(1/2)
-(-1+exp(2*x)*(1+y0^2))^(1/2)
>> help dsolve
DSOLVE Symbolic solution of ordinary differential