- #1
mordechai9
- 205
- 0
I am considering a second order ODE of the form y''(x) + f(x) y(x) = 0, with boundary conditions that y(x) = 0 at plus/minus infinity. Note that f(x) is complex for my case.
It seems that the standard techniques for numerically solving this problem are (a.) the finite difference method and (b.) the shooting method. One book I'm looking at ("Numerical recipes", Press et. al.) indicates that the shooting method is the first approach to take, whereas another book ("Finite difference methods for ordinary and partial differential equations", LeVeque) advocates the finite difference method as the first approach.
The shooting method seems to be more complicated so I am a bit confused by this difference of opinion. Any comments would be appreciated.
It seems that the standard techniques for numerically solving this problem are (a.) the finite difference method and (b.) the shooting method. One book I'm looking at ("Numerical recipes", Press et. al.) indicates that the shooting method is the first approach to take, whereas another book ("Finite difference methods for ordinary and partial differential equations", LeVeque) advocates the finite difference method as the first approach.
The shooting method seems to be more complicated so I am a bit confused by this difference of opinion. Any comments would be appreciated.