Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2003/ib/paper-2/7b/a/solution

Take the unit circle counterclockwise and . The integrand is a Laurent polynomial with its only possible singularity at zero. Its expansion is
The term is the term , so the residue is . The residue theorem gives

New to topics? Read the docs here!