I am plotting a wavefunction that is generated by using the Euler Method. The scenario is the infinite square well.
I have two test cases - one with initial energy guess of 2.0 and another with initial energy guess of 9.0. Below are the resulting plots.
I had to say that the first case was not good because the wavefunction was nowhere near a necessary value of $\psi(10)=0$. The second test was closer, but for some reason the amplitude of the wavefunction doesn't stay constant. Does anyone have an idea as to why it isn't staying constant? It looks constant in the first case.