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 33ETrapezoid 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=1, b=, n=50.Therefore Divide interval [1, inti n=50 subintervals of length with the following endpoints a=1,Now we just evaluate the function at those endpoints …….Finally, just sum up above values and multiply by Answer: 1.14486724870419.