Morph Average Value v2

Visually estimate what you think the average y-value will be. Then drag the slider to check your guess. How can we use calculus to compute this average value?