 The quadrature rules generally have the form

where the nodes formula_16 and weights formula_17 are generally precomputed.In the simplest case, Newton–Cotes formulas of even degree are used, where the nodes formula_16 are evenly spaced in the interval