How to solve y''+y'/x+y=0 using B.C.s y(0)=0 and y'(0)=1
2 views (last 30 days)
Show older comments
I have tried Dsolve,ode45,ode23,ode15s. But didn't prove any luck.
2 Comments
Roger Stafford
on 16 Feb 2017
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.
Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!