858
6÷2(1+2) (programming.dev)
submitted 11 months ago* (last edited 11 months ago) by wischi@programming.dev to c/memes@lemmy.ml

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
[-] Socsa@sh.itjust.works -2 points 11 months ago

Without any additional parentheses, the division sign is assumed to separate numerators and denominators within a complete expression, in which case you would reduce each separately. It's very, very marginally ambiguous at best.

[-] Danksy@lemmy.world 1 points 11 months ago

Assumed by whom? Clearly not everyone.

[-] SmartmanApps@programming.dev 1 points 8 months ago

It's what is actually taught in high school, so there are those who remember and those who don't.

[-] SmartmanApps@programming.dev 1 points 8 months ago

You are correct with your definition - Terms are separated by operators and joined by grouping symbols - and it's consequently not ambiguous at all (using so-called "weak juxtaposition" breaks that rule).

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

Memes

45660 readers
1029 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