I'm currently trying to evaluate the following integrals:
$$\int_{|z-2|=1}\ {((e^z-1)^2/z) dz}$$
$$\int_{|z|=1}\ {((e^z-1)^2/(z^n))} dz$$ where $n$ belongs to positive, natural numbers.
I know that I should probably use Cauchy's Integral Formula or Cauhcy's Theorem, however I have a lot of difficulty understanding how and why I would use them to evaluate these integrals.
I would appreciated any help. Thanks :)
For the first integral, note that the integrand is holomorphic on and in the disk $|z-2|=1$ because the singularity $z=0$ is outside it.
For the second integral, just expand the integrand in Laurent series, which is easy because you know the Taylor series for $e^z$.