Students can adjust the coefficient of the cosx and develop an understanding that this changes the range of the function. They also can change the value of the angle and this allows them to understand that the angle is associated with the period of the function.