2082 9

BIT203 · 2082 · 5 marks

Integrate int03 (2x3 + 1) dx using Simpson's frac13 rule with n=6.

Integrate $\int_{0}^{3} (2x^3 + 1) dx$ using Simpson's $\frac{1}{3}$ rule with $n=6$. [5]

Numerical MethodsChapter 6: Numerical IntegrationSimpson's 1/3 rule and composite Simpson's 1/3 ruleNumerical: Simpson's 1/3 rule

Simpson's 1/3 Rule: $\int_0^3 (2x^3 + 1),dx$ with $n = 6$

Given

  • $f(x) = 2x^3 + 1$
  • Limits: $a = 0$, $b = 3$
  • Number of intervals: $n = 6$

Step 2: Step Size

$$h = \frac{b-a}{n} = \frac{3-0}{6} = 0.5$$

Step 3: Function Values

$i$$x_i$$f(x_i) = 2x_i^3 + 1$CoeffProduct
00.0$2(0)+1 = 1.000$11.000
10.5$2(0.125)+1 = 1.250$45.000
21.0$2(1)+1 = 3.000$26.000
31.5$2(3.375)+1 = 7.750$431.000
42.0$2(8)+1 = 17.000$234.000
52.5$2(15.625)+1 = 32.250$4129.000
63.0$2(27)+1 = 55.000$155.000

Step 4: Apply the Formula

$$\int_a^b f(x),dx \approx \frac{h}{3}\Big[f_0 + f_6 + 4(f_1+f_3+f_5) + 2(f_2+f_4)\Big]$$

Compute the grouped sums:

  • End terms: $1.000 + 55.000 = 56.000$
  • Odd terms: $4(1.250 + 7.750 + 32.250) = 4(41.250) = 165.000$
  • Even terms: $2(3.000 + 17.000) = 2(20.000) = 40.000$

Total sum: $$S = 56.000 + 165.000 + 40.000 = 261.000$$

Step 5: Final Result

$$\int_0^3 (2x^3+1),dx \approx \frac{0.5}{3}(261) = \frac{261}{6} = 43.5$$

$$\boxed{\int_0^3 (2x^3+1),dx \approx 43.5}$$

Verification (Exact Value)

$$\int_0^3 (2x^3+1),dx = \left[\frac{x^4}{2} + x\right]_0^3 = \frac{81}{2} + 3 = 40.5 + 3 = 43.5$$

Simpson's 1/3 rule gives the exact answer because the integrand is a cubic polynomial (degree $\le 3$), for which the rule is exact.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.