Find the average of the function over the given interval and all values of in the interval for which the function equals its average value.