用MATLAB求解微分方程dy/dx-2y/(x+1)=(x+1)^5/2

问题描述:

用MATLAB求解微分方程dy/dx-2y/(x+1)=(x+1)^5/2

dsolve('Dy-2*y/(x+1)=(x+1)^5/2')
ans =
(C2*exp((2*t)/(x + 1)))/4 - (3*x)/2 - (15*x^2)/4 - 5*x^3 - (15*x^4)/4 - (3*x^5)/2 - x^6/4 - 1/4