Consider the function f(x)=xsinx on the interval [0,π].
a. Determine the average value of f on [0,π]. Express your answer exactly.
b. Find all values of x in [0,π] for which f(x) equals the average value found in part (a). Give each value accurate to three decimal places.