How do you find the period of y=3+cosx?