this post was submitted on 03 Dec 2023
418 points (100.0% liked)

196

16244 readers
2198 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] 50MYT@aussie.zone 1 points 9 months ago (3 children)

Pemdas.

Multiplication comes before division.

1 is the correct answer.

[–] kryptonianCodeMonkey@lemmy.world 1 points 9 months ago* (last edited 9 months ago)

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.

[–] SmartmanApps@programming.dev 1 points 6 months ago

1 is the correct answer, but it's because Brackets comes before Division - there is no Multiplication in this problem.

[–] 0ops@lemm.ee 0 points 9 months ago (1 children)

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.