# Numerical method to solve ODE boundary problem

1. Aug 14, 2010

### zetafunction

can anyone provide a Numerical algorithm to solve

$$-y'' (x) +f(x)y(x) = \lambda _{n} y(x)$$

with the boundary condition $$y(0)=y(a)=0$$

here 'a' is a parameter introduced at hand inside the program

and $$f(x)$$ is also introduced by hand in the program

i am more interested in getting eingenvalues than obtaining Eigenfunctions

if possible the routine may be in MATHLAB or in FORTRAN thanks

another question can MATHEMATICA solve this kind of eigenvalue problems ??

2. Aug 15, 2010