this post was submitted on 12 Dec 2023
857 points (96.4% liked)

Memes

45889 readers
2299 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 5 years ago
MODERATORS
857
6÷2(1+2) (programming.dev)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

https://zeta.one/viral-math/

I wrote a (very long) blog post about those viral math problems and am looking for feedback, especially from people who are not convinced that the problem is ambiguous.

It's about a 30min read so thank you in advance if you really take the time to read it, but I think it's worth it if you joined such discussions in the past, but I'm probably biased because I wrote it :)

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 1 year ago* (last edited 1 year ago) (1 children)

It will give 9, just like my 89 emulator. It treats division like a fraction. For a TI, the entire denominator of a fraction needs to be in parentheses or you get into trouble.

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago)

It treats division like a fraction

Which is why it gives the wrong answer.

Also you shouldn't be adding a dot between the 2 and the brackets - that also changes the answer.