Numerical method to solve ODE boundary problem

1 reply · 4K views · last reply
zetafunction
Messages
371
Reaction score
0
can anyone provide a Numerical algorithm to solve

[tex]-y'' (x) +f(x)y(x) = \lambda _{n} y(x)[/tex]

with the boundary condition [tex]y(0)=y(a)=0[/tex]

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

and [tex]f(x)[/tex] 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 ??