421
submitted 1 year ago by Toes@ani.social to c/196
you are viewing a single comment's thread
view the rest of the comments
[-] CaptDust@sh.itjust.works 21 points 1 year ago* (last edited 1 year 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 28 points 1 year ago

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

[-] Kalkaline@leminal.space 13 points 1 year 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 11 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
421 points (100.0% liked)

196

17175 readers
1668 users here now

Be sure to follow the rule before you head out.


Rule: You must post before you leave.



Other rules

Behavior rules:

Posting rules:

NSFW: NSFW content is permitted but it must be tagged and have content warnings. Anything that doesn't adhere to this will be removed. Content warnings should be added like: [penis], [explicit description of sex]. Non-sexualized breasts of any gender are not considered inappropriate and therefore do not need to be blurred/tagged.

If you have any questions, feel free to contact us on our matrix channel or email.

Other 196's:

founded 2 years ago
MODERATORS