The coefficient of 3 only affects the amplitude, not the period. A horizontal stretch would change the period.