Simpson's 3/8 Rule Calculator
Type a function, an interval and a number of intervals divisible by 3 to use Simpson's 3/8 rule.
Use x. Type powers with ^, and functions with brackets: sin(x), e^(2x), ln(x), sqrt(x).
A number such as 0 or 1/2, pi, e, inf or -inf.
A number larger than the lower limit, pi, e, inf or -inf.
A number of equal intervals divisible by 3, such as 3, 6 or 9.
Result
You entered
Error against the exact integral
Show the work
Simpson's 3/8 rule
Fit a cubic through each group of four points. The heights are weighted , which needs the number of intervals to be divisible by 3.
Width of each interval
The x-values are equally spaced.
Heights
The 4 heights.
Exact for cubics
Simpson's rule is exact for every polynomial of degree 3 or less, and this function is one, so the estimate is the exact integral.
Result
The weighted sum times 3Δx/8.