Actually, this is more of a general question relating to a homework problem I already did. I was given the initial wavefunction of a particle in an infinite square well:
\Psi(x,0) = Ax if (0 \leq x \leq \frac{a}{2}), and =A(a-x) if (\frac{a}{2} \leq x \leq a)
And of course \Psi(0,0) =...