The cosine function has its maximum value at and then again at the end of one cycle. The value of x at that point is the length of one cycle, or one period of . You may have realized this but miscalculated the period. Remember that the period of is .