Numerical method to solve ODE boundary problem

zetafunction
Messages
371
Reaction score
0
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 ??
 
Physics news on Phys.org
Thread 'Direction Fields and Isoclines'
I sketched the isoclines for $$ m=-1,0,1,2 $$. Since both $$ \frac{dy}{dx} $$ and $$ D_{y} \frac{dy}{dx} $$ are continuous on the square region R defined by $$ -4\leq x \leq 4, -4 \leq y \leq 4 $$ the existence and uniqueness theorem guarantees that if we pick a point in the interior that lies on an isocline there will be a unique differentiable function (solution) passing through that point. I understand that a solution exists but I unsure how to actually sketch it. For example, consider a...
Back
Top