Consider the given function and the given interval.

f(x) = 8 sin x - 4 sin 2x, [0,pi]

(a) Find the average value f ave of f on the given interval.

(b) Find c such that f ave = f(c).