How do you find the amplitude and period of a function #y=2cos(1/2x+pi/3)-1#?