I am given the function
$$ f : [−\pi/2, \pi/2] \rightarrow \mathbb{R} $$
where
$$ f(x) = \begin{cases} 1 & \text{if } \quad \sin(1/x) > 0, x \neq 0 \\ -1 & \text{if } \quad \sin(1/x) < 0, x \neq 0 \\ 0 & \text{if } \quad \sin(1/x) = 0, x \neq 0 \\ 0 & \text{if } \quad x = 0 \end{cases}$$
and I am asked if the function is Riemann integrable and why.
Here is a powerful theorem which you may keep in mind:
So, with this in mind. Where is your function discontinuous?