Let g be a continuous function on the closed interval [2,6].
a. Write an expression for the average value of g on the interval [2,6].
b. Explain why there must exist at least one number c in [2,6] such that g(c) equals the average value obtained in part (a). Your explanation should rely only on properties of continuous functions on closed intervals.