Integration of cosx/sin^2x (Solution)