If q = 2, evaluate left parenthesis 34 plus 18 times q right parenthesis minus left parenthesis 5 Superscript q baseline plus 7 right parenthesis.
(1 point)
Responses
38
79
31
21
To solve this expression, substitute q = 2 into the expression:
(34 + 18*q) - (5^q + 7)
= (34 + 18*2) - (5^2 + 7)
= (34 + 36) - (25 + 7)
= 70 - 32
= 38
Therefore, the answer is 38.
To evaluate the expression, we substitute the value of q (which is 2) into the expression.
So we have:
(34 + 18 * 2) - (5^2 + 7)
First, we calculate the exponent:
(34 + 18 * 2) - (5^2 + 7) = (34 + 18 * 2) - (25 + 7)
Next, we perform the multiplication and addition:
(34 + 18 * 2) - (25 + 7) = (34 + 36) - (25 + 7)
Now, we add the numbers inside the parentheses:
(34 + 36) - (25 + 7) = 70 - 32
Finally, we subtract:
70 - 32 = 38
So the answer is 38.