Average Value of a Function

The interval beneath the curve is divided into two or more partitions, and a sample -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.



  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


The width of each partition is computed with .
The position of a sample point in the partition is controlled by the value of the offset (, , or ) times the partition width.
The approximate average is computed with .
The actual average is computed by integration with .


    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.