Approximation of Integrals

Approximate integrals with Riemann sums and trapezoidal rule.