I need to find the integral over smooth curve $C$ of
1) $\displaystyle \frac{e^{iz}}{z^2}\, dz$ when $r(t) =e^{it}, t\in [0, 2\pi]$
2) $\dfrac{\log z}{z^n} \, dz$, $r(t) = 1 +(1/2) e^{it}, t\in [0,2\pi]$ & $n\ge0$.
I know that I can use $e^{it} = \cos t + i\sin t$ and find the integral. But things are getting messy for me. Please help.