How do you find the average value of #f(x)=cosx# as x varies between #[0, pi/2]#?