The function f(x) is a sinusoidal wave with a period of 4.

