For the first you need to use the Weierstrauss Substitution.
For the first you need to use the Weierstrauss Substitution.
For the first one, you can do the following . Now, if you can check that has a poles at precisely one place on or in the interior of , namely one at the interior point . We see then by Cauchy's Integral Formula then that .
If you look down the solution to this problem you will see I solved precisely the second integral.