Trapezoidal Integration Method