Numerical Integration (Trapezoidal Rule)