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

196

667 readers
33 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
[–] Annoyed_Crabby@monyet.cc 1 points 11 months ago (3 children)

So umm what's the correct one?

[–] Zagorath@aussie.zone 9 points 11 months ago

Ultimately it's ambiguous and bad. But most mathematicians (at a level higher than primary school education) use multiplication by juxtaposition—aka implicit multiplication—at a higher priority than division. BIDMAS, as you might have been taught in primary school, is an oversimplification that doesn't even account for the possibility of juxtaposition, because you didn't learn about that until secondary school.

Most mathematicians would use logic that lets you arrive at the answer of "1", while also saying it should have been written better. Brackets are cheap. Use them!

[–] Melkath@kbin.social 1 points 11 months ago

Please Excuse My Dear Aunt Sally

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

what’s the correct one?

Yes, one is correct :-)