trapezoidal rule gives exact value of the integral when the integrand is a

1 week ago 9
Nature

The trapezoidal rule gives the exact value of the integral when the integrand is a linear function. This is because the trapezoidal rule effectively approximates the area under the curve by connecting points with straight line segments, which matches the behavior of a linear function exactly. For polynomial functions of degree 2 or higher, the trapezoidal rule produces an approximation with some error.