What is the average value of the function #f(x)=sin^2(3x)+x# on the interval #[0, π]#?