plot floor(x) and floor(x) * (x - (floor(x)/2) - 1/2) from -2 to 4