Let $\gamma: [a,b] \rightarrow \mathbb{C}$ be a closed curve with $0 \notin \gamma([a,b]).$ Compute the Cauchy integral of $f(z):=\frac{1}{z}$ with regards to $\gamma$.
I have to compute
$$\begin{align} F(z)=\frac{1}{2 \pi i} \int _{\gamma}\frac{f(w)}{w-z}dw=\frac{1}{2 \pi i} \int _{\gamma}\frac{1}{w^2-wz}dw \end{align}$$
but as the curve is arbitrary I don't know how to go on. Can you guys help me?