Evaluate g(-11), g(12), and g(31) given a piecewise function.
Check the final answer first, then review the worked steps.
Check the final answer first, then review the worked steps.
g(-11) = -11 + 5 = -6
g(12) = 17
g(31) = 31 - 31 = 0
The function g(x) is defined by the piecewise rule: g(x) = x + 5 for x < 0, g(x) = 17 for 0 <= x <= 20, and g(x) = 31 - x for x > 20. Evaluating at the given points: g(-11) = -11 + 5 = -6; g(12) = 17; g(31) = 31 - 31 = 0.