Using the domain {-2,-1,0, 1, 2}, which one of the following graphs is the graph of:3 ifx > 01 if x = 0 ?x if x < 0f(x) =OA.-1OB.A

Given:
The function is:
[tex]f(x)=\begin{cases}{3\text{ if }x>0} \\ {1\text{ if }x=0} \\ {x\text{ if }x<0}\end{cases}[/tex]Find-:
The graph of a function
Explanation-:
If the x > 0 the f(x) is 3. so graph of function is:
[tex]f(x)=3\text{ if }x>0[/tex]Domain is { 1, 2}
Graph is:
The function is:
[tex]f(x)=1\text{ if }x=0[/tex]So, the point of graph is:
The function is:
[tex]f(x)=x\text{ if }x<0[/tex]The domain is { -2, -1 }
Then the graph of a function is:
Then the overall graph of function is: