Practicing Success
Let $f: R \in R$ be given by $f(x)=\left\{\begin{array}{l} |x-[x]|, \quad \text { when }[x] \text { is odd } \\ |x-[x]-1|, \quad \text { when }[x] \text { is even, } \end{array}\right.$ where [.] denotes the greatest integer function, then $\int\limits_{-2}^4 f(x) d x$ is equal to |
$\frac{5}{2}$ $\frac{3}{2}$ 5 3 |
3 |
We have, $f(x) =\left\{\begin{array}{ll} $\Rightarrow f(x) = \begin{cases}\{x\}, & \text { when }[x] \text { is odd } \\ The graph of $f(x)$ is as shown in Figure. |