kvadratuurireeglid
Kvadratuurireeglid, also known as quadrature rules or numerical integration formulas, are methods used in numerical analysis to approximate the definite integral of a function. Instead of finding the exact antiderivative, which can be impossible or difficult for many functions, quadrature rules replace the integrand with a simpler function, such as a polynomial, that can be integrated easily. The integral of this approximating function then serves as an approximation to the original integral.
The general form of a quadrature rule involves a weighted sum of the function's values evaluated at
Common types of quadrature rules include Newton-Cotes formulas, which use equally spaced nodes, and Gaussian quadrature,