Find the average value of the function f(x)=−4sin(x) on the interval [π2,3π2] and determine a number c in this interval for which f(x) is equal to the average value.