Newton-Cotes closed quadrature

ID: newton-cotes-closed-quadrature

Integrate the Lagrange polynomial through values at all equally spaced nodes , including both endpoints. The resulting quadrature rule is exact through degree . For even , the node polynomial is odd about , so its integral vanishes and exactness extends through degree . The weights need not remain positive as the number of nodes increases.

New to topics? Read the docs here!