# Homework Help: Bessel ODE math problem

1. Mar 9, 2010

### jschmid2

The problem statement, all variables and given/known data[/b]
I would like to solve a second order ODE, by breaking it up into two first order ODES. However, I'm having a bit of difficultly here.

The ODE is $$y''=-(\frac{1}{x}y'+y)$$
and the true solution is Bessel of first kind, order zero.

I have tried setting z=y' which means
z'=y''=the equation shown above.

However, I am having difficultly implementing the $$\frac{1}{x}$$

I'm trying to program it in matlab, but none of the ODE solvers knows how to deal with the 1/x.

Any ideas?