I am trying to solve the Schrodinger equation For a potential $V(r)$ defined for $ 0<r<R$ as $$V(r)=-V_0 $$ and zero everywhere else.
For wavefunction $u$ I can easily get to $$ u'' =-k^2u,$$ where $$k^2 = \frac {2m}{h}(V_0 +E).$$
I understand that the general solution to a differential equation of this form is $$u=A \sin(kr) +B \cos(kr) .$$
However, in my textbook the $\cos$ term is mysteriously dropped. Why should this be?