Skip to main content

Simpson 1/3: 4e^x/(1+x³)

Short answer

Use Simpson's 1/3 rule with h = 0.2 and n = 10. Combining endpoints, odd, and even weighted values gives the integral approximately 9.6263.

Evaluate the following using Simpson's 1/3 rule (take h = 0.2): ∫ from 0 to 2 of 4e^x/(1 + x³) dx

Simpson's 1/3 rule (n even): ∫ f dx ≈ (h/3)[y₀ + yₙ + 4(y₁+y₃+…) + 2(y₂+y₄+…)].

Here a = 0, b = 2, h = 0.2, so n = (2−0)/0.2 = 10 sub-intervals (even, so the rule applies). f(x) = 4eˣ/(1+x³).

ixᵢyᵢ = f(xᵢ)weight
00.00004.00001
10.20004.84684
20.40005.60842
30.60005.99384
40.80005.88772
51.00005.43664
61.20004.86822
71.40004.33254
81.60003.88782
91.80003.54194
102.00003.28401
y₀ + y₁₀                  = 4.0000 + 3.2840 = 7.2840
Odd sum  (y₁+y₃+y₅+y₇+y₉) = 24.1516
Even sum (y₂+y₄+y₆+y₈)    = 20.2520

I ≈ (0.2/3)[ 7.2840 + 4(24.1516) + 2(20.2520) ]
  = 0.066667 × 144.3946
  = 9.6263

Answer: ∫₀² 4eˣ/(1+x³) dx ≈ 9.6263

✓ Answer checked by Claude Opus 5.5 (high effort)

All Numerical Method chapter 5 questions →