Answer:
Explaining the concept:
We have been given a piecewise function, which means that this function is defined differently for different values
notice that in the function, at the end of each row, we have an 'if' statement
if the input value satisfies the if statement, the function of that respective row will be used
Finding the Values:
h(-5):
since the input value is unequal to -2, the first function will be used (because the if statement at the end of the first function is satisfied by the input value)
h(x) = -(x/4) - (2) (since x ≠ -2)
replacing x with -5
h(-5) = -(-5/4) - 2
h(-5) = (5-8) / 4
h(-5) = -3/4
h(-2):
From the 2 if statements, we notice that this input value satisfies the second statement (x = -2)
Therefore, the second function will be used
h(x) = -1 (for x = -2)
h(-2) = -1
h(0):
This input values satisfies the first if statement.
Hence, the first function will be used
h(x) = (-x/4) - 2 (for x ≠ -2)
replacing x with 0
h(0) = (-0/4) - 2
h(0) = -2