y''(x)=y(x) \csc ^2(x) \left(-\left(v (v+1) \sin ^2(x)-n^2\right)\right)-\cot (x) y'(x)