Graph the function f(x)=-1/2sin2x+1 on the interval [-2pi, 2pi]