Cauchy's integral formula statesand can be used in the following way.
Evaluatewhere
is the circle
is entire and
is in the interior of
hence
Evaluatewhere
is the circle
which in the interior of
is entire hence
Evaluatewhere
is the circle
has roots
both inside
so we write
and separate the integrand into partial fractions, obtaining
sin z is entire hence
Evaluatewhere
is the circle
lie inside
but -2 is outside. We rewrite the integrand using partial fractions.