Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2013/ib/paper-2/13d/i/solution

The denominator vanishes when . For , only lies inside the rectangle. This is a simple pole, since the denominator derivative there is . Its residue is
The positive orientation and the residue theorem consequently give

New to topics? Read the docs here!