Until now, solving the Schrodinger Equation for a particle in a box was relatively easy because the boundaries conditions imposed zero value on the wave function at the boundaries. But now I must find the normalized wave function of the same problem imposing just these periodic boundaries conditions:
$$Y(x,y,z)=Y(x+L,y,z),\\ Y(x,y,z)=Y(x,y+L,z),\\ Y(x,y,z)=Y(x,y,z+L).$$
I got stuck in the normalization process. Before, using the boundary condition (one dimension) $Y(0)=Y(L)=0$, I could get just one constant to solve for, in
$$Y(x)= A\sin{kx} + B\cos{kx}.$$
Applying the conditions above, I get
$$Y(x)= A\sin{kx}\quad \text{where}\quad k=\pi n/L$$
which is easy normalize. But now, with this periodic boundary condition, $Y(0)=Y(L)$. How could I find it?