f(x) is a step function with three regions. For inputs less than 0, the output is 0. For inputs between 0 and 1, the output increases linearly with the input. For inputs greater than 1, the output is 2.

