414,740 views
11 votes
11 votes
2|2-4|+6

I haven't done this in 3 years and my teacher just threw it at me. I keep getting 2. Please tell me what I'm doing wrong.

User Germano
by
2.8k points

2 Answers

14 votes
14 votes

Answer:

See explanation for answer.

Step-by-step explanation:

2|2−4|+6

= 10

I'm sorry if this isn't correct.

I hope I helped!

Have a lovely day!

User Yet Another Geek
by
2.8k points
24 votes
24 votes

This question is easy to solve long as you know the vertical uprights mean to "take the absolute value".

To take the absolute value of a number, simply make it positive if it is a negative number and do nothing if the number is positive.

I don't see an operator between the first '2' and the first '|' so I'm assuming it is multiplication. Is there is an operator there and forgot to put it there, then I'll edit this answer to give the correct answer.

2 * |2 - 4| + 6 # Starting expression

2 * |-2| + 6 # Subtract 4 from 2

2 * 2 + 6 # Absolute value

4 + 6 # Multiplication

10 # Addition

Hope this helps!

User Polli Ester
by
3.2k points
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.