# Solving schrodingers numerically

## Main Question or Discussion Point

hi guys. this is my first post so hello to everyone here!
right, well to my problem. i'm attempting to solve (numerically) schrodingers equation.
ie time independent one, which can be taken as (d/dX2 + V(X))Y(X)=E*Y(X) (after defining a dimensionless constant to get rid of all the "junk" ;) )
first i am given that the potential V(X)=X*X and that the initial conditions that Y(0)=1 and Y'(0)=0, which is "appropriate for an even solution".
I then solve it numerically quite easily using a modified rungekutta method.
However i am not use how to adapt my program in order to solve for an odd solution...would it simply be a change of initial conditions?

thank you for the help guys, it is well appreciated.

## Answers and Replies

Related Quantum Physics News on Phys.org
Try Y(0)=0 and Y'(0)=1 ?

yes i did try that, but it does not give me the answer i want.
i forgot to mention, i only need to get the even and odd solutions when the potential is (-1/(1+x^4)).
also when i do find even and odd solutions, should they share the same eigenvalues?
thank you again