find the amplitude, period, and phase shift of the function defined by:
y=3-2cos(3x+pi)
y=3-2cos(3x+pi)