f(x) = \frac{\pi}{2} - |x|, -\pi \leq x \leq \pi