Exercise · ZW-TRAPEZOIDAL-RULE-009 · ★★☆ Intermediate
What value does the trapezoidal rule give with \(n=1\) for \(\int_1^3 \frac{1}{x}\,dx\)?
Choose one option.
Show answer
- C. \(4/3\)
Exercise · ZW-TRAPEZOIDAL-RULE-009 · ★★☆ Intermediate
Choose one option.
With \(h=2\): \(\frac{2}{2}[1+\frac{1}{3}]=\frac{4}{3}\). The endpoints are \(f(1)=1\) and \(f(3)=\frac{1}{3}\), with no interior nodes.
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))\).