Answer:
4, 2, 1, 2, 4
Step-by-step explanation:
-2 <= 0, so use the first equation, f(x) = (1/2)^x, to find f(-2).
f(-2) = (1/2)^-2 = 1^-2/2^-2 = 2^2/1^2 = 4/1 = 4
-1 <= 0, so use the first equation, f(x) = (1/2)^x, to find f(-1).
f(-1) = (1/2)^-1 = 1^-1/2^-1 = 2^1/1^1 = 2/1 = 2
0 <= 0, so use the first equation, f(x) = (1/2)^x, to find f(0).
f(0) = (1/2)^0 = 1^0/2^0 = 1/1 = 1
1 > 0, so use the second equation, f(x) = 2^x, to find f(1).
f(1) = 2^1 = 2
2 > 0, so use the second equation, f(x) = 2^x, to find f(2).
f(2) = 2^2 = 4