this post was submitted on 03 Dec 2023
385 points (95.5% liked)

196

15693 readers
2266 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
(page 2) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 14 points 7 months ago (3 children)

The correct answer is 16. Multiplication and Division happen at the same level of priority, and are evaluated left-to-right.

[–] [email protected] 12 points 7 months ago (29 children)

No it's ambiguous, you claiming there is one right answer is actually wrong.

load more comments (29 replies)
load more comments (2 replies)
[–] firewyre 10 points 7 months ago

Throw that ecal in the trash

[–] Sylvartas 9 points 7 months ago

This is why I loved my Casio 2D. It could use actual fractions to avoid these kind of issues

[–] [email protected] 9 points 7 months ago* (last edited 3 months ago) (47 children)

For anyone like me who has math as their worst subject: PEMDAS.

PEMDAS is an acronym used to mention the order of operations to be followed while solving expressions having multiple operations. PEMDAS stands for P- Parentheses, E- Exponents, M- Multiplication, D- Division, A- Addition, and S- Subtraction.

So we gotta do it in the proper order. And remember, if the number is written like 2(3) then its multiplication, as if it was written 2 x 3 or 2 * 3.

So we read 8/2(2+2) and need to do the following;

  • Read the Parentheses of (2 + 2) and follow the order of operations within them, which gets us 4.
  • Then we do 2(4) which is the same as 2 x 4 which is 8
  • 8 / 8 is 1.

The answer is 1. The old calculator is correct, the phone app which has ads backed into it for a thing that all computers were invented to do is inaccurate.

[–] [email protected] 10 points 7 months ago (2 children)

The problem with this is that the division symbol is not an accurate representation of the intended meaning. Division is usually written in fractions which has an implied set of parenthesis, and is the same priority as multiplication. This is because dividing by a number is the same as multiplying by the inverse, same as subtracting is adding the negative of a number.

8/2(2+2) could be rewritten as 8×1/2×(2+2) or (8×(2+2))/2 which both resolve into 16.

load more comments (2 replies)
load more comments (46 replies)
[–] Synthead 8 points 7 months ago (2 children)
load more comments (2 replies)
load more comments
view more: ‹ prev next ›