Analysis of Sine and Cosine Functions