Worksheet: Period and Horizontal Dilation of Sine and Cosine Function Nicholas Bennett Precalculus with Trigonometry 2 4. Set B = 2. Write the equations for both the sine and cosine functions below. Answer: Functions are y = sin(2x) and to y = cos(2x). 5. What is the period P of both sine and cosine under this horizontal dilation?