Loading
Romberg integration starts from trapezoidal estimates with 1, 2, 4, … strips and improves them with . Each column is more accurate than the one before.
Use Romberg integration with 2 levels to estimate . (The exact value is .)
Each new row halves h and only needs f at the new midpoints; the old points are reused through .
Four strips of plain trapezoids were off by 0.0039; the Romberg corner is off by only 0.000028.
| i (strips) | R(i, 0) trapezoid | R(i, 1) | R(i, 2) |
|---|---|---|---|
| 0 (1) | 0.750000 | ||
| 1 (2) | 0.708333 | 0.694444 | |
| 2 (4) | 0.697024 | 0.693254 | 0.693175 |
The calculator below opens on this integral. Add a level to see the answer match ln 2 to six places.
Using 4 as the divisor in every column.
Subtracting the wrong way round.
Recomputing every f value for each trapezoid.
Reading the answer from the first column.
Using it on a function with a kink or jump.
Writing only the final answer.
Limits can be numbers or constants such as pi or pi/2. Level k uses 2ᵏ strips.