How do you find the average value of #f(x)=cosx# as x varies between #[1,5]#?