The average value of an integrable function on an interval can be defined using integrals: , or, equivalently, , so, for positive functions, the average value is the height of the rectangle with width that has the same area as the region betwen the graph and the interval on the axis. This Demonstration illustrates that fact.