The average value of the function on the interval is equal to 1. Find the value of .