$$f(x):=\begin{cases} [x] & -2≤ x ≤ -1 \\ |x| +1 & -1≤ x ≤ 2 \end{cases}$$
$$ g(x):=\begin{cases} [x] & -π ≤ x ≤ 0 \\ \sin(x) & \phantom{+}0 ≤ x ≤ π \end{cases}$$
Range of $g\circ f(x)$ ( $[x]$ represent greater integer function).
In this question I draw the operator diagram and find the range of individual composite function . I want to know that I have to take union or intersection of the range.