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

196

17034 readers
1737 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] synae@lemmy.sdf.org 2 points 1 year ago* (last edited 1 year ago) (1 children)

PEMDAS is actually (PE)(MD)(AS). Those that are grouped together have equal precedence and are evaluated left to right.

8 / 2 * (2+2)

8 / 2 * 4

4 * 4

16

Edit to fix formatting, maybe?

[–] SmartmanApps@programming.dev 2 points 11 months ago

8 / 2 * (2+2)

When you added the multiply you changed the answer, because the (2+2) is now in the numerator instead of in the denominator.