Evaluate the expression 3x + (z + 2y) - 12, if x = 3, y = 8 and z= 5.
A. -116
B. 18
C. 53
D. 42
3x + (z + 2y) - 12, if x = 3, y = 8 and z= 5.
3*3 + (5+2*8) - 12
9 + (5 + 16) - 12
9 + 21 - 12
30 - 10 - 2
20 - 2
18
Well, let's plug in the given values and find out!
We have x = 3, y = 8, and z = 5.
So the expression becomes:
3(3) + (5 + 2(8)) - 12
Now let's simplify it:
9 + (5 + 16) - 12
Hmm, let's add up the numbers inside the brackets:
9 + 21 - 12
Now let's add those numbers together:
30 - 12
And the final result is:
18
So the answer is B. 18.
Just remember, math can be fun too!
To evaluate the expression 3x + (z + 2y) - 12, substitute the given values of x, y, and z into the expression.
Given:
x = 3
y = 8
z = 5
Substitute these values into the expression:
3(3) + (5 + 2(8)) - 12
Multiply first:
= 9 + (5 + 16) - 12
Then do the addition inside the parentheses:
= 9 + 21 - 12
Finally, do the remaining addition and subtraction:
= 30 - 12
= 18
Therefore, the evaluated expression is 18.
The correct option is B. 18.
To evaluate the given expression, you need to substitute the values of x, y, and z into the expression and simplify.
Given:
x = 3
y = 8
z = 5
Substitute these values into the expression:
3x + (z + 2y) - 12
= 3(3) + (5 + 2(8)) - 12
Now, simplify the expression using the order of operations (PEMDAS):
= 9 + (5 + 16) - 12
= 9 + 21 - 12
= 30 - 12
= 18
So, the evaluated expression is 18.
Therefore, the correct answer is B. 18.