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

With the composite Simpson's rule and \(n=4\) on \([0,4]\), what is the width \(h\) of each subinterval?

Choose one option.

Show answer
  • B. \(h=1\)

Explanation

We have \(h=\frac{4-0}{4}=1\), whereas dividing by the number of pairs gives a different width.

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-007 ZW-SIMPSON-S-RULE-009 →