Amplitude, period, and phase shift of sine and cosine functions