How do you find the amplitude and period of #y=0.5cos2pix#?