Solution

ID: past-exam-of-the-mathematics-course-of-the-year-1-of-the-natural-sciences-course-of-the-university-of-cambridge/2014/paper-1/12/d/solution

By De Moivre's theorem, . Take real parts of the binomial expansion:
Eliminate using and collect powers:

New to topics? Read the docs here!