See explanation and graph below
Step-by-step explanation:
For x less than or equal to zero, we would apply the function f(x) = (1/2)^x
For x greater than zero, we would apply the function f(x) = 2^x
when x = - 2 (less than 0)
This falls in the 1st function
when x = -1 (less than 0)
This falls in the 1st function
when x = 0 (equal to 0)
This falls in the 1st function
when x = 1 (greater than 0)
This falls in the 2nd function
when x = 2 (greater than 0)
THis falls in the 2nd function
Plotting the graph:
The end with the shaded dot reresent the function with equal to sign attached to the inequality [f(x) = (1/2)^x].
The end with the open dot represent the function without the equal to sign [f(x) = 2^x)