403
submitted 11 months ago by Toes@ani.social to c/196@lemmy.blahaj.zone
you are viewing a single comment's thread
view the rest of the comments
[-] CaptDust@sh.itjust.works 20 points 11 months ago* (last edited 11 months ago)

Uh.. no the 1 is wrong? Division and multiplication have the same precedence, so the correct order is to evaluate from left to right, resulting in 16.

[-] kakes@sh.itjust.works 24 points 11 months ago

The real correct order is to use brackets to remove ambiguity.

[-] Kalkaline@leminal.space 13 points 11 months ago

Exactly, these types of problems are designed to make people confused and discuss PEMDAS and drive social media engagement.

[-] SmartmanApps@programming.dev 2 points 7 months ago

There's no multiplication in this question - multiplication refers literally to multiplication signs - only division and brackets, and addition within the brackets. So you have to use The Distributive Law to solve the brackets, then do the division, giving you 1.

this post was submitted on 03 Dec 2023
403 points (99.8% liked)

196

16481 readers
2194 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