Define f:R→R by f(x)=⌊x⌋+sgn(x), where ⌊x⌋ is the greatest integer less than or equal to x and sgn(x) is the signum function.
a. (i) State the definitions of the greatest integer function and the signum function.
b. (ii) Evaluate f(2.7), f(−1.2) and f(0).
c. (iii) If x varies in the interval (−2,2), list all possible values that f(x) can take, giving reasons for your answer.