My first thought about this problem is trying to set up a boundary condition for the wavefunction. For 0<x<A, the wavefunction takes the form of simple harmonic oscillators, i.e. N exp(-1/2 alpha x^2) . With boundary condition where psi(x) = 0 at x=0, I'm stuck with the expression of N=0. Maybe, I didn't think it right...