Transforming the Cosine Function