Gausskvadraturák
Gausskvadraturák, also known as Gaussian quadrature, are numerical integration methods used to approximate definite integrals. The core idea is to select specific points, called nodes, within the integration interval and assign weights to them, such that a weighted sum of the function's values at these nodes approximates the integral with high accuracy. Unlike Newton-Cotes formulas which use equally spaced points, Gaussian quadrature chooses nodes and weights optimally to achieve the highest possible degree of precision for a given number of points.
The general form of a Gaussian quadrature rule is a sum of the form $\sum_{i=1}^n w_i f(x_i)$,
The choice of nodes and weights depends on the specific type of Gaussian quadrature. The most common