Answer: The correct option is 2.
Step-by-step explanation:
From the given figure it is easily noticed that the function is increasing in nature for x<0 and the function is constant in nature for x>0 because the value of y remains unchanged for any value of x, where
.
The value of function is 3 at x=0.
The value of the function is always 3 for all
. So,
for
.
The function is a straight line with intercepts (-3,0) and (0,3).
The equation of line is,




For x<0, the function is,

Therefore the piecewise function can be defined as,

Therefore option 2 is correct.