NOTE - Boole's Rule is commonly mis-spelled as "Bode's Rule"!
This numerical integration method is a closed Newton-Cotes formula; for each integral slice, Boole's rule samples:
and combines them into an area estimate for this slice using the following formula:
Loading...Given a window of Loading... and a "step size" of Loading.... The point Loading... is the point Loading... steps into the window.
There are a few simpler ways to understand this:
Boole's rule is simply the trapezoid method (see trapezoid.cljc
), subject to /two/ refinements of "Richardson extrapolation".
The trapezoid method fits a line to each integration slice. Boole's rule fits a quartic (4th-order) polynomial to each slice.
The test namespace contains a symbolic proof that the Richardson-extrapolated Trapezoid method is equivalent to using the formula above to calculate Boole's rule directly.