Consider a particle of mass $𝑚$ in an infinite square well of width $𝐿$. The wave function of the particle at $𝑡 = 0$ is $$ \psi (x,0)=Ax^2(x^2-L^2), \quad 0\leq x \leq L$$
a.) What is $\psi(x,t)$ for $ t \geq 0 $?
b.) At some time $t >0$, what is the probability of measuring the particle to have energy $16\pi ^2\hbar ^2/(2mL^2)$? Does it depend on time?
c.) Calculate the expectation value of the position.
So for a the first thing I did was to find the normalization constant $A$ using the normalization condition $$ \langle\psi (x,0)|\psi (x,0)\rangle = \int_{-\infty}^{\infty} \psi^*(x,0) \psi (x,0)dx =1 $$ which after evaluating gives me $$ A= \sqrt{\frac{105}{8L^7}}$$
then I find the expansion coefficients $$ C_n = \langle E_n|\psi (x,0)\rangle = \int_{-\infty}^{\infty} \varphi_n^*(x)\psi (x,0)dx $$ for which i got $$ C_n = \frac{3\sqrt{105}}{n^3\pi ^3}(-1)^n $$ now the time dependent wave function can be written down as $$ \psi (x,t) = \sum_n \frac{3\sqrt{105}}{n^3\pi ^3}(-1)^n exp({-\frac{in^2\pi ^2\hbar t}{2mL^2}}) \sqrt{\frac{2}{L}}sin(\frac{n\pi x}{L}) $$
I also did part b.) and got some really small probability that didnt depend on time. The part im confused about is part c.), I dont know what to do with the summations when you square the wave function in $$ \langle x \rangle = \int_{-\infty}^{\infty} x |\psi (x,t)|^2 dx $$