matlab 求微分方程初值问题的符号解,并与数值解进行比较
来源:学生作业帮 编辑:搜狗做题网作业帮 分类:综合作业 时间:2024/06/05 00:09:14
matlab 求微分方程初值问题的符号解,并与数值解进行比较
为什么我这么打错了?
>> [x,y]=dsolve('x*(D2y)+(1-n)*(Dy)+y=0','y(0)=0','Dy(0)=0','x')
Warning:Solutions are possibly missing.[solvini]
Warning:Explicit solution could not be found.
> In dsolve at 197
x =
[ empty sym ]
y =
[]
为什么我这么打错了?
>> [x,y]=dsolve('x*(D2y)+(1-n)*(Dy)+y=0','y(0)=0','Dy(0)=0','x')
Warning:Solutions are possibly missing.[solvini]
Warning:Explicit solution could not be found.
> In dsolve at 197
x =
[ empty sym ]
y =
[]
y=dsolve('x*(D2y)+(1-2)*(Dy)+y=0','y(0)=0','Dy(0)=0','x')
y =
C6*x*besselj(2,2*x^(1/2))
y =
C6*x*besselj(2,2*x^(1/2))