(Elements of Numerical Integration) Apply the Trapezoid and Simpson Rule to approximate ∫(f(x)dx) and find an upper bound for the error in your approximation.
Problem
(Composite numerical integration) Approximate ∫(f(x)dx) using 4 subintervals in (a) Composite Trapezoidal Rule, (b) Composite Midpoint Rule, (c) Composite Simpson Rule.