Correct option is (b) 12. The value of g(4) is 12.
The function g(x) is defined piecewise:
For
For
For
To find g(4), we refer to the second piece of the function because the input x = 4 falls within the range
. Substituting x = 4 into the second piece of the function gives us:
Hence, g(4) = 12. This value corresponds to the output of the function when the input x is 4 within its defined range.