Translating and Scaling Sine and Cosine Functions