Write the equation of the piecewise function below.

For every real number x, g(x) is the greatest integer less than or equal to x. The graph of g(x) is shown at the right. Note that in Example 3 the function ƒ could have been written as ƒ(x) = x + 1, 0 ≤ x < 4. Write equations for the piecewise function whose graph is shown.
i hope this helps