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:
[y
0
+ 4y
1
+ 2y
2
+ 4y
3
+ 2y
4
+ ... + 4y
n-1
+ y
n
]×h/3
where n = number of intervals
a = first ordinate
b = last ordinate
h = interval width = (b - a)/n
y
i
= 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( )