Note the function is periodic with period 1 on intervals of length 1. Split integral over intervals where \( [x] \) is constant: \[ \int_{-2}^{-1} + \int_{-1}^{0} + \int_0^1 + \int_1^2 + \ldots \] Each integral evaluates to a function of sine and cosine. Sum all integrals and simplify to get the final answer: \[ 3(1 - \cos 1) + \sin 2 - \sin 1 \]