2 years ago
Last edited at 8:25AM on 2/26/2012
You need to calculate <psi | x^2 | psi>, which amounts to calculating the integral over psi* x^2 psi over the interval representing the box. The result depends on your choice of wave function, whether you use the ground state or any of the excited states. The problem is them reduced to just doing a definite integral.