For the first part of working out the potential, you have to employ the TDSE, this is true.
However, you should recognise that this is the wavefunction for a free particle, in the form:
[psi] = Aexp[i(kx - wt)], where A = normalisation factor, p=[hbar]k, E = [hbar]w.
Hence in this example, p...