Let's find the value of the expression \( 8 - |2g - 5| \) when \( g = -3.5 \).
1. Substitute \( g = -3.5 \) into the expression:
[tex]\[
2g = 2 \times (-3.5) = -7
\][/tex]
2. Replace \( 2g \) with \(-7\):
[tex]\[
2g - 5 = -7 - 5 = -12
\][/tex]
3. Take the absolute value of \( -12 \):
[tex]\[
|2g - 5| = |-12| = 12
\][/tex]
4. Subtract the absolute value from 8:
[tex]\[
8 - |2g - 5| = 8 - 12
\][/tex]
5. Calculate the result:
[tex]\[
8 - 12 = -4
\][/tex]
Therefore, the value of the expression is \(-4\).
The correct answer is:
D. -4