27. Trapezoid rule integration