Exercise · ZW-TRAPEZOIDAL-RULE-001 · ★☆☆ Basic
What is the step \(h\) when applying the composite trapezoidal rule to \(\int_0^2 f(x)\,dx\) with \(n=4\) subintervals?
Choose one option.
Show answer
- C. \(h=0.5\)
Exercise · ZW-TRAPEZOIDAL-RULE-001 · ★☆☆ Basic
Choose one option.
The step is \(h=(b-a)/n=(2-0)/4=0.5\). The option with \(h=0.25\) divides by \(2n\) instead of \(n\).
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))\).