I have a infinite square well, and is given a wavefunction that exist inside the well. The problem is to find the probability that a measurement of the energy will result in a certain given energy eigenvalue. Also I have to find teh mean energy.

Thanks in advance.