1. Find the average of the function f(x) = x sin x between x =0 and x=π.