Numerical method to solve ODE boundary problem

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 4K views
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 ??
 
Physics news on Phys.org