Trapezoidal rule
In calculus, the trapezoidal rule is a technique for numerical integration, i.e., approximating the definite integral:
The trapezoidal rule works by approximating the region under the graph of the function
as a trapezoid and calculating its area. Wikipedia