Complex integral! Am I doing it correctly?

46 Views Asked by At

I'm trying to calculate the integral $$\int_{|z|=1} \frac{dz}{z^{2}+2z} $$

From what I've understood I can replace the $z$ with $e^{it}$. So I have:

$$ \int_0^{2\pi} \frac{1}{e^{it2}+2e^{it}}ie^{it}dt $$

And now I compute it as a normal integral?