Solution

ID: past-exam-of-the-mathematics-course-of-the-year-1-of-the-natural-sciences-course-of-the-university-of-cambridge/2014/paper-2/9/a/solution

Only the component of the vector field is nonzero, so . On the vertical segment, throughout. Hence

New to topics? Read the docs here!