Lesson 6: Simpson's rule
Simpson's rule for
SkillSimpson's rule
Worked example
Use Simpson's rule with to estimate . Compare your estimate with the exact value, .
Step 1: Find the strip width
, so the ordinates are .
Step 2: Tabulate the values and multipliers
multiplier A table keeps the odd and even ordinates apart, which is where most errors happen.
Step 3: Add the weighted values
Step 4: Multiply by w/3
Step 5: Compare with the exact value
The error is , about . The trapezoidal rule with the same five ordinates gives , an error more than ten times larger.
Answer
Simpson's rule gives , within about of .
Try a similar one
A fresh question of the same kind, checked as you answer, with hints and a full solution.
Method
with even.
Tabulate , and the multipliers .
Multiply the weighted sum by .
Watch out for
Using from the trapezoidal rule.
Putting the 4s on instead of and .