What is the average value of the function #g(x) = cosx# on the interval #[0, pi/2]#?