Solution

ID: past-exam-of-the-year-1-of-the-computer-science-course-of-the-university-of-oxford/2018/discrete-mathematics-continuous-mathematics-and-probability/6/e/solution

With unit strip width, the composite trapezoidal rule gives
For Simpson's rule, the even integer arguments are the odd-numbered interior grid positions. Therefore
The requested two-decimal answers are and . The supplied component sums are individually rounded; they should not be treated as exact simultaneous identities. Computing from the original function gives approximately and , respectively, with the same two-decimal results.

New to topics? Read the docs here!