Exercise · ZW-SIMPSON-S-RULE-009 · ★★☆ Intermediate

What is the value of the composite Simpson's rule with \(n=2\) for \(\int_0^2 x^3\,dx\)?

Choose one option.

Show answer
  • A. \(4\)

Explanation

With \(h=1\), \(f(0)=0\), \(f(1)=1\), \(f(2)=8\): \(\frac{1}{3}(0+4+8)=4\), exact for cubics.

Study Numerical methods in ZWMath →

Review the concept: Simpson's rule

Simpson's rule is a numerical quadrature method that approximates \(\int_a^b f(x)\,dx\) by integrating a quadratic polynomial that interpolates \(f\) at \(a\), \(\frac{a+b}{2}\), and \(b\).

\[\int_a^b f(x)\,dx \approx \frac{h}{3}[f(x_0)+4f(x_1)+f(x_2)], h=\frac{b-a}{2}\]

More practice problems: simpson's rule

← ZW-SIMPSON-S-RULE-008 ZW-SIMPSON-S-RULE-010 →