① Compound trapezoidal formula
Take equidistant nodes xk = a+KH, h = (b-a)/n, k = 0, 1, ..., n and divide the integral interval [a, b]n equally, with [xk, xk+1] k = 0,65438+between each cell.
Quadrature formula
(15) is a formula called compound trapezoid.
Usually the right end of the symbol (15) is
It is called the t-value. because
Therefore, the cumulative term of the compound trapezoidal formula is
If | f "(x) |≤ m2, because A and B are finite numbers, if the calculation accuracy ξ is given, it is given by (16), so.
That is, as long as h satisfies (17) and n=(b-a)/h, we can use the compound quadrature formula (15) to find the approximate value of definite integral with the calculation error less than ξ.
② Compound Simpson formula
Take equidistant nodes xk = a+KH, h = (b-a)/n, k = 0, 1, ... n on [a, b] n, and use Simpson on [xk, xk+ 1] between each cell.
Where xk+ 1/2 = xk+h/2, the following compound Simpson formula is obtained:
Using the cumulative term of Simpson formula, we can get the cumulative term of compound Simpson formula, as shown below:
It can be seen from finding the cumulative term of the compound Simpson formula that the compound Simpson formula is superior to the compound trapezoidal formula, but the former has a large amount of calculation. The compound Simpson formula is also called the compound parabola formula.
Other types of compound quadrature formulas, such as compound Cotes formula, can be constructed by the above method. In fact, the compound quadrature formula is essentially obtained by replacing the integrand function f(x) with piecewise interpolation function at the quadrature node, so it is classified as an interpolation quadrature formula, such as the compound trapezoidal formula with piecewise interpolation function instead of f(x) and the compound Simpson formula with piecewise quadratic interpolation function instead of f(x).