Exercise · ZW-TRAPEZOIDAL-RULE-008 · ★★☆ Intermediate
If the error of the composite trapezoidal rule with \(n=2\) on \(\int_0^1 x^2\,dx\) is \(0.0417\), what is the approximate error with \(n=4\)?
Choose one option.
Show answer
- D. \(0.0104\)
Exercise · ZW-TRAPEZOIDAL-RULE-008 · ★★☆ Intermediate
Choose one option.
Doubling \(n\) halves the step, and since the error is of order \(h^2\), it is divided by 4: \(0.0417/4\approx0.0104\). Half the error would correspond to dividing by 2, not by 4.
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))\).