Trapezoid Rule and Simpson’s Rule Consider the following integrals and the given values of n.a. Find the Trapezoid Rule approximation to the integral using n and 2n subintervals.b. Find the Simpson’s Rule approximation to the integral using 2n subintervals. It is easiest to obtain Simpson’s Rule approximations from the Trapezoid Rule approximations, as in Example 6.c. Compute the absolute errors in the Trapezoid Rule and Simpson’s Rule with 2n subintervals.

Problem 34ETrapezoid Rule and Simpson’s Rule Consider the following integrals and the given values of n.a. Find the Trapezoid Rule approximation to the integral using n and 2n subintervals.b. Find the Simpson’s Rule approximation to the integral using 2n subintervals. It is easiest to obtain Simpson’s Rule approximations from the Trapezoid Rule approximations, as in Example 6.c. Compute the absolute errors in the Trapezoid Rule and Simpson’s Rule with 2n subintervals.SolutionStep 1:Given integral is (a)Trapezoidal rule states that We have that a=0, b=, n=64.Therefore Divide interval [0, into n=64 subintervals of length with the following endpoints a=0,Now we just evaluate the function at those endpoints …….Finally, just sum up above values and multiply by Answer: 0.665766209170523.