WOLFRAM|DEMONSTRATIONS PROJECT

Average Value of a Function

​
position of sample point in interval
left-hand
right-hand
midpoint
number of intervals
2
Intervals
Approximate Average
Actual Average
1
2.
1.63662
2
1.85355
1.63662
The interval beneath the curve is divided into two or more partitions, and a sample
x
-value is taken from each partition. The user chooses the number of partitions and the position of the sample point. The corresponding values of the function are averaged, and the result is compared with the actual average.