Newton–Cotes formulas
In numerical analysis, the Newton–Cotes formulas, also called the Newton–Cotes quadrature rules or simply Newton–Cotes rules, are a group of formulas for numerical integration (also called quadrature) based on evaluating the integrand at equally spaced points. They are named after Isaac Newton, who originated the formulas, and Roger Cotes, who expanded upon Newton's work.
Newton–Cotes formulas can be useful if the value of the integrand at equally spaced points is given and when the integrand is known to have only a finite number of continuous derivatives. If the integrand is infinitely differentiable and it is possible to change the points at which the integrand is evaluated, then other methods such as Gaussian quadrature and Clenshaw–Curtis quadrature may yield higher precision per function evaluation.