This has the repeating hill and valley pattern of the graph of a cosine function. The amplitude of this graph and is . This graph has 2 cycles on the interval , so a period of .

The function has a period of . So the graph and the function match.