29-34. {Use of Tech} Comparing the Midpoint and Trapezoid Rules
Apply the Midpoint and Trapezoid Rules to the following integrals. Make a table similar to Table 8.5 showing the approximations and errors for n = 4, 8, 16, and 32. The exact values of the integrals are given for computing the error.
33. ∫(0 to π) sin x cos(3x) dx = 0