Exercise · ZW-TRAPEZOIDAL-RULE-005 · ★☆☆ Basic
What is the order of the error of the composite trapezoidal rule with respect to the step \(h\)?
Choose one option.
Show answer
- C. \(O(h^2)\)
Exercise · ZW-TRAPEZOIDAL-RULE-005 · ★☆☆ Basic
Choose one option.
The error term is proportional to \(h^2\). The option \(O(h^4)\) corresponds to composite Simpson's rule.
The trapezoidal rule is a quadrature method that approximates the definite integral of a function \(f\) on \([a,b]\) by replacing the curve with the straight line joining \((a,f(a))\) and \((b,f(b))\).