Solution

ID: past-exam-of-the-mathematics-course-of-the-year-1-of-the-natural-sciences-course-of-the-university-of-cambridge/2011/paper-1/16/c/solution

The complementary function is . A particular solution is , since applying to either sine or cosine multiplies it by . Thus
At zero, , giving . At , the cosine term vanishes and the particular term is , so . Consequently
The two boundary conditions determine the two constants uniquely because their evaluation matrix on is the identity.

New to topics? Read the docs here!