What is the average value of a function #y=x^2-2x+4 # on the interval #[0,8]#?