# Average Value of a Function

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

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.

Contributed by: Michael Largey and Samuel Leung (March 2011)

Open content licensed under CC BY-NC-SA

## Snapshots

## Details

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 .

## Permanent Citation