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

Memes

45730 readers
974 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
858
6÷2(1+2) (programming.dev)
submitted 11 months ago* (last edited 11 months 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] 0 points 11 months ago* (last edited 11 months ago) (1 children)

Calculators do not implement "what conventions are typically used in practice." Entering symbols one by one into a calculator is a fundamentally different process from writing them in a sentence. A basic traditional calculator will evaluate each step as you enter it, so e.g. writing 1 + 2 * 3 will print 1, then 3, then 6. It only gets one digit at a time, so it has no choice. But also, this lends itself to iterative calculation, which is inherently ordered. People using calculators get used to this order of operations specifically while using calculators, and now even some of the fancy ones that evaluate expressions use it. Others switched to the conventional order of operations.

[–] [email protected] 3 points 11 months ago* (last edited 11 months ago) (1 children)

Entering symbols one by one into a calculator is a fundamentally different process from writing them in a sentence.

Citation needed.

No but seriously, why do you think it necessarily needs to be different? There are calculators that use actual fraction notation and all that

[–] [email protected] 0 points 11 months ago

It's not that it needs to be different, it's that it is. The fact that there are calculators with fractional notation is completely irrelevant.