Question
What is the value of this expression when g = -3.5?
8 − |2g − 5|
A.
20
B.
10
C.
6
D.
-4
8 − |2g − 5|
A.
20
B.
10
C.
6
D.
-4
Answers
GPT-4o mini
To evaluate the expression \( 8 - |2g - 5| \) when \( g = -3.5 \), follow these steps:
1. Substitute \( g \) with \(-3.5\):
\[
2g - 5 = 2(-3.5) - 5
\]
2. Calculate \( 2(-3.5) \):
\[
2(-3.5) = -7
\]
3. Now substitute \(-7\) into the expression:
\[
-7 - 5 = -12
\]
4. Now find the absolute value:
\[
|2g - 5| = |-12| = 12
\]
5. Substitute \( |2g - 5| \) back into the original expression:
\[
8 - |2g - 5| = 8 - 12
\]
6. Finally, calculate:
\[
8 - 12 = -4
\]
Thus, the value of the expression when \( g = -3.5 \) is \( \boxed{-4} \).
1. Substitute \( g \) with \(-3.5\):
\[
2g - 5 = 2(-3.5) - 5
\]
2. Calculate \( 2(-3.5) \):
\[
2(-3.5) = -7
\]
3. Now substitute \(-7\) into the expression:
\[
-7 - 5 = -12
\]
4. Now find the absolute value:
\[
|2g - 5| = |-12| = 12
\]
5. Substitute \( |2g - 5| \) back into the original expression:
\[
8 - |2g - 5| = 8 - 12
\]
6. Finally, calculate:
\[
8 - 12 = -4
\]
Thus, the value of the expression when \( g = -3.5 \) is \( \boxed{-4} \).