Cosine Function and its Transformations