In this problem we will approximate the integral of $\cos(x^3)$ over the interval $[0, 2]$.
(a) Write an expression for MN, TN and SN with $N = 4$.
(b) For each of the approximations determine an N so that the error is guaranteed
to be less than $10^{-4}.$ You will find it useful to know that on the interval $[0, 2],
|\frac {d^4\cos(x^3)}{dx^4} | \le 850$.
Please help me with the question. Thanks a lot!