if C is the positively oriented circle $ \lvert z \rvert = 4 $
$cot^2z = \frac{cos^2z}{sin^2z}$
singularites will occur when $sin^2z = 0$, so $\pi$ and $ -\pi $ within $\lvert z \rvert = 4$
I have tried using my p over q rule
$p(z_0) = \cos^2z \neq 0 $ at either singularity
$q(z_0) = \sin^2z = 0 $ at both singularities, but
$ q^{'}(z_0) = 2\cos(z)\sin(z) = 0 $ at all my singularities
I can't use my $ \phi $-rule because $\cos^2z$ is analytic and but I can't get $ \sin^2z $ into the for of $(z-z_0)^{-m} $
Am I looking in the wrong place trying to use Residues at the two singularies to calculate the integral?