graph y =cos(x), y = -3cos(3x)