This is the graph of a cosine function: it has the repeating hill and valley pattern and is at the top of a hill as it passes through the y-axis. The amplitude of this graph and is 2.

This graph has 3 cycles in the interval , or a period of . The same is true for , so the graph and the function match.