- #1
Monocles
- 466
- 2
Homework Statement
This is problem 2.4 from Griffiths, where he asks to find the expectation value of the position of a particle in a box.
Homework Equations
Schrodinger equation.
The Attempt at a Solution
I wrote that
[tex]\frac{2}{a} \int_0^a x (sin(\frac{n \pi}{a} x))^2 dx = \frac{a}{2} + \frac{2}{a} \int_{-\frac{a}{2}}^{+\frac{a}{2}} x (sin(\frac{n \pi}{a} x))^2 dx = \frac{a}{2}[/tex]
By argument of moving the origin to a/2 and that the integrand becomes odd when you do that, and so the integral equals zero. Is this valid, or do I need to tidy up the integral some more?