Example 5. Let over . Compare the left Riemann sum, right Riemann sum, midpoint rule and trapezoidal rule for n = 100 subintervals. Compare them with the analytic solution.
Solution 5.
(c) John H. Mathews 2004