Section 6-5-Average Value of a function with an example