39.6k views
19 votes
Evaluate 24 + |x - 4| - y if x=2 and y= -3

Help me plz

User Diya Li
by
3.8k points

2 Answers

10 votes

Answer:

29

Explanation:

Note that the absolute value function always give a positive value, that is

| - a | = | a | = a

Given

24 + | x - 4 | - y ← substitute x = 2, y = - 3 into the expression

= 24 + | 2 - 4 | - (- 3)

= 24 + | - 2 | + 3

= 24 + 2 + 3

= 29

User PravinDodia
by
4.6k points
3 votes

Answer:


\huge \boxed {29}

Explanation:


24 + |x - 4| - y

Given x = 2 and y = -3. Therefore, substitute x = 2 and y = -3 in the expression.


24 + |2 - 4| - ( - 3) \\ 24 + | - 2| + 3

Multiplying the negative with negative equal positive. All negative numbers in the absolute will become positive.


24 + 2 + 3 = 24 + 5 = 29

Therefore the answer is 29.

User Androyal
by
3.5k points