I have the following question from a past exam paper that I'm not really sure how to evaluate. Any help would be appreciated...
Let $\gamma$ be the unit circle in $\mathbb{C}$ traversed in the anti-clockewise direction.
$$\displaystyle\int_\gamma \dfrac{\cos^2z}{z^2}dz$$
I know that $\gamma(t)=e^{it}$, as it is the unit circle with a center 0 and radius 1.
We can use Cauchy's Integral Formula, this tells that $2 \pi i(\cos^2(0))'=\int_\gamma \dfrac{\cos^2z}{(z-0)^2}=0$.