y=-2cos(x*pi/2)