The time-independent Schrodinger equation for 0 < x < a is
\(\frac{h^2}{2m} \frac{d^2\psi}{dx^2} + E\psi = 0\).
It has solution \(\psi\)(x) = A sin kz, where k is given by k2 = \(\frac{2mE}{h^2}\), satisfying \(\psi\)(O) = 0. The boundary condition $(a) = 0 then requires ka = nr.
Hence the normalized eigenfunctions are

(a) Thus

(b) The average energy of the system is

(c) The probability of finding the particle in 0 ≤ x ≤ a/2 at t = t0 is
