August 10, 2017
In
Numerical Analysis, R, Uncategorized

## The Trapezoidal Rule of Numerical Integration in R

The Trapezoidal Rule is another of Closed Newton-Cotes formulas for approximating the definite integral of a function. The trapezoidal rule is so named due to the area approximated under the integral [latex]\int^a_b f(x) \space dx[/latex] representing a trapezoid. Although there exist much more accurate quadrature methods, the trapezoidal rule converges...