Simpson's Rule

f(x) = from x = to x =
Number of intervals =
Your browser does not support the HTML5 canvas tag.
Total area =


Summary
Simpson's Rule approximates the area under the curve by the formula:

[y0 + 4y1 + 2y2 + 4y3 + 2y4 + ... + 4yn-1 + yn]×h/3

where n = number of intervals
a = first ordinate
b = last ordinate
h = interval width = (b - a)/n
yi = f(a + i×h)
The number of intervals n must be even.

You can define functions using these operators:
+-*/^
abs( )sqrt( )ln( )exp( )pi
sin( )cos( )tan( )
asin( )acos( )atan( )