The minimum value of the cosine function is , and it occurs at the bottom of each valley in the graph. The maximum value of the cosine function is 1, and it occurs at the top of each hill in the graph. Perhaps you were looking at only the points where the function equals 1 and where the function equals , but in this interval there are other points where the function equals and 1.