How to solve y''+y'/x+y=0 using B.C.s y(0)=0 and y'(0)=1

2 次查看(过去 30 天)
I have tried Dsolve,ode45,ode23,ode15s. But didn't prove any luck.
  2 个评论
Roger Stafford
Roger Stafford 2017-2-16
The reason for your trouble with the numerical ode’s is that initially at x = 0, you must have y” an infinite value to satisfy the equation y” + y’/x + y = 0. That is because y’/x is equal to 1/0 = infinity at that first point. This creates unsurmountable difficulties for the numerical ode procedures. You probably need to reconsider either those initial conditions or else the differential equation itself.
Torsten
Torsten 2017-2-16
编辑:Torsten 2017-2-16
In general, the solution to your ODE is
y(x)=const1*J_0(x)+const2*Y_0(x)
with J and Y being Bessel functions.
Best wishes
Torsten.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by