So you have the integral:[tex]\int{\psi \psi^{*} dx} = \int^{\frac{L}{2}}_{\frac{2L}{3}}{\sqrt{\frac{2}{L}} \sin{\frac{n \pi x}{L}} \sqrt{\frac{2}{L}} \sin{\frac{n \pi x}{L}} dx} = \int^{\frac{L}{2}}_{\frac{2L}{3}}{\frac{2}{L} \sin^{2}{\frac{n \pi x}{L}} dx}[/tex] You can get the integral of sine squared from an integral table:[tex]\int{\sin^{2}{ax} dx} = \frac{x}{2} - \frac{\sin{2ax}}{4a}[/tex] Keep in mind that both [itex]\frac{x}{2}[/itex] and [itex]\frac{\sin{2ax}}{4a}[/itex] are evaluated at the limits of integration.
Doing all of this I obtained 30% for the answer when I plugged in n = 1 (for the ground state).
You're probably just messing up the minus sign on one of the 4 terms that come about when you evaluate the [itex]\frac{x}{2} - \frac{\sin{2ax}}{4a}[/itex] term at the limits of integration. You 4 terms should be [tex]\int{\psi \psi^{*} dx} = \frac{2}{L} (\frac{L}{3} - \frac{L}{4} - \frac{\sin{(2\frac{n \pi}{L}\frac{2L}{3}})}{4 \frac{n \pi}{L}} + \frac{\sin{(2 \frac{n \pi}{L} \frac{L}{2}})}{4 \frac{n \pi}{L}})[/tex]
Edit*** After a 3rd check, when n = 1 the answer is indeed 30%. Looks like we are both susceptible to math errors on this one >_< (I had edited my post thinking the answer was 60% when I double checked my original answer...)