What is the average value of the function #f(x)=(x-1)^2# on the interval from x=1 to x=5?