There’s quite a few calculators that get this wrong. In college, I found out that Casio calculators do things the right way, are affordable, and readily available. I stuck with it through the rest of my classes.
16 is the right answer if you use PEMDAS only: (8 ÷ 2) × (2 + 2)
You added brackets and changed the answer. 2(2+2) is a single term, and if you break it up then you change the answer (because now the (2+2) is in the numerator instead of in the denominator).
1 is the right answer
The only right answer
both are correct answers
Nope, 1 is the only correct answer.
this is also one of the reasons why postfix and prefix notations have an advantage over infix notation
Except they don’t. This isn’t a notation problem, it’s a people don’t remember the rules of Maths problem.
prefix notation doesn’t need parentheses either though, at least in this case. lisp uses them for readability and to get multiple arity operators. infix doesn’t have any ambiguity either if you parenthesize all operations like that.
That’s wrong. Multiplication and division have equal precedence, same as addition and subtraction. You do them left to right. PEMDAS could be rewritten like PE(MD)(AS). After parentheses and exponents, it"s Multiplication and division together, then addition and subtraction together. They also teach BODMAS some places, which is “brackets, order, division and multiplication, addition and subtraction” Despite reversing the division and multiplication, it doesn’t change the order of operations. They have the same priority, so they are just done left to right. PEMDAS and BODMAS are the different shorthand for the same order of operations.
There’s an argument to be made that implicit multiplication comes before division, resulting in the answer 1, but all multiplication? That’s wrong, full-stop. You calculate (explicit) multiplication and division in one step, left to right. Reason being that division is technically just multiplying by the reciprocal.
There’s quite a few calculators that get this wrong. In college, I found out that Casio calculators do things the right way, are affordable, and readily available. I stuck with it through the rest of my classes.
Ditto for Sharp. It’s really only Texas Instruments that is the ongoing exception to the rule.
Sharp as well.
My Casio calculators get this wrong, even the newer ones. BTW the correct answer is 16, right?
No, the correct answer is 1.
(8 ÷ 2) × (2 + 2)
8 ÷ (2 × (2 + 2))
2 2 + 8 2 ÷ × .
(× (÷ 8 2) (+ 2 2))
You added brackets and changed the answer. 2(2+2) is a single term, and if you break it up then you change the answer (because now the (2+2) is in the numerator instead of in the denominator).
The only right answer
Nope, 1 is the only correct answer.
Except they don’t. This isn’t a notation problem, it’s a people don’t remember the rules of Maths problem.
prefix notation doesn’t need parentheses either though, at least in this case. lisp uses them for readability and to get multiple arity operators. infix doesn’t have any ambiguity either if you parenthesize all operations like that.
There isn’t any ambiguity even if you don’t.
Yes
8 / 2 (2+2)
8 / 2 (4)
4 (4)
16
No
8 / 2 (2+2)
8 / 2 (4)
8 / 8
1
No. Order of operations is left to right, not right to left. 1 is wrong.
Order of operations is BEDMAS, THEN left to right within each operator.
1 is the only correct answer.
Pemdas.
Multiplication comes before division.
1 is the correct answer.
That’s wrong. Multiplication and division have equal precedence, same as addition and subtraction. You do them left to right. PEMDAS could be rewritten like PE(MD)(AS). After parentheses and exponents, it"s Multiplication and division together, then addition and subtraction together. They also teach BODMAS some places, which is “brackets, order, division and multiplication, addition and subtraction” Despite reversing the division and multiplication, it doesn’t change the order of operations. They have the same priority, so they are just done left to right. PEMDAS and BODMAS are the different shorthand for the same order of operations.
1 is the correct answer, but it’s because Brackets comes before Division - there is no Multiplication in this problem.
There’s an argument to be made that implicit multiplication comes before division, resulting in the answer 1, but all multiplication? That’s wrong, full-stop. You calculate (explicit) multiplication and division in one step, left to right. Reason being that division is technically just multiplying by the reciprocal.
There’s no such thing as implicit multiplication.
No.
8 / 2 (4) 8/(2x4) 8/8 1
deleted by creator
That’s (2x4). Doing division before brackets goes against the order of operations rules.
deleted by creator
I didn’t say they weren’t. I said…
You did 8/2x4, which is the same as (8/2)(2+2), which isn’t the same as 8/2(2+2)=8/2(4)=8/(2x4).
deleted by creator
Depends on the system you use. Most common system worldwide and in the academic circles (the oldest of the two) has 1 as the answer.
There are no other systems - only people who are following the actual rules of Maths and those who aren’t. And yes, 1 is the correct answer