Wait a moment while we are looking for your question.
.
If f : R → R is a function defined by  f \left(\right. x \left.\right) - \left[\right. x \left]\right. cos \textrm{ } \left(\right. \frac{2 x - 1}{2} \left.\right) \pi, where [x] denotes the greatest integer function, then f is :