2.5 Trapezoidal rule