The maximum value of the cosine function is 1, and it occurs at the top of each hill in the graph. In the interval , there are three hilltops: at and .