Find Amplitude, Period, and Phase Shift cos(pix)