RetroFed Forum
Your home away from modern life.
Math (Art by LuxxArt)
Post Reply
AuthorMessage
ThefuzzyFurryComrade pawb.social ThefuzzyFurryComrade@pawb.social
Joined: 2024-12-21
Quote

Source (Bluesky)

16   Original
Boo! Haunted House! lemmy.world lemmyng@lemmy.world
Joined: 2025-03-16
#2 · Quote Reply

PEMDAS says .5

1
LurkingLuddite piefed.social LurkingLuddite@piefed.social
Joined: 2026-02-04
#3 · Quote Reply

PEMDAS says .5

It's not. You don't multiply then divide. It's more PE-MD-AS. Multiplication and division have the same priority, so are then worked from left to right.

The correct answer is 8, and only 8.

7
Kogasa programming.dev kogasa@programming.dev
Joined: 2023-06-12
#4 · (edited) Quote Reply

PEMDAS says .5

No it does not. If you treat implicit multiplication (no symbol) as exactly the same precedence as explicit, it'd be 8. Sometimes people intend it to have a higher priority, especially when it's after a division sign because they're thinking about how they'd write it on paper, as a fraction. For example, you might see 1/ab instead of 1/(ab). Strictly applying PEMDAS would say 1/ab = b/a, but if that's what you meant then you probably would have written b/a instead.

If you do the implicit multiplication first, it's 0.5.

5
Post Reply
Back to top