Amplitude and period of sine and cosine functions