Consider the solution to the Schrödinger equation
where is h-bar, m is the mass of a particle, is the wavefunction, and E(x) is the energy of a given state, for a half-infinite potential
where
Finite Square Potential Well, Infinite Square Potential Well