It is a Quadrature where the domain is split into multiple grid points with

We sum only till because is the end point which means the substitution doesn’t exist.

center

Comparison of Quadrature Rules and their Composite form

Quadrature ruleComposite QuadratureFixed Step
Left Rectangle
Midpoint
Trapezoid
Simpson’s