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

Memes

45727 readers
809 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
849
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 :)

(page 6) 50 comments
sorted by: hot top controversial new old
[–] wren@sopuli.xyz 1 points 11 months ago (2 children)

Great read! Easy for everyone to understand, but also thorough. I loved the breakdown into the calculators functionality

load more comments (2 replies)
[–] ExLisper@linux.community 1 points 11 months ago (1 children)
load more comments (1 replies)
[–] kuneho@lemmy.world 1 points 11 months ago* (last edited 11 months ago) (10 children)

isn't that division sign I only saw Americans use written like this (÷) means it's a fraction? so it's 6÷2, since the divisor (or what is it called in english, the bottom half of the fraction) isn't in parenthesis, so it would be foolish to put the whole 2(1+2) down there, there's no reason for that.

so it's (6/2)*(1+2) which is 3*3 = 9.

the other way around would be 6÷(2(1+2)) if the whole expression is in the divisor and than that's 1.

tho I'm not really proficient in math, I have eventually failed it in university, but if I remember my teachers correctly, this should be the way. but again, where I live, we never use the ÷ sign, only in elementary school where we divide on paper. instead we use the fraction form, and with that, these kind of seemingly ambiguous expressions doesn't exist.

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

written like this (÷) means it’s a fraction?

No, that means it's a division. i.e. a÷b. To indicate it's a fraction it would need to be written as (a÷b). i.e. make it a single term. Terms are separated by operators and joined by grouping symbols (such as brackets or fraction bars).

put the whole 2(1+2) down there, there’s no reason for that.

There is - it's a single bracketed term, subject to The Distributive Law. i.e. the B in BEDMAS.

load more comments (9 replies)
[–] jordanlund@lemmy.world 1 points 11 months ago (1 children)

Interesting that Excel sees =6/2(1+2) as an invalid formula and will not calculate it (at least on mobile). =6/2*(1+2) returns 9 because it's executing the division and multiplication left to right (6/2=3*3=9).

Google Sheets (mobile) does't like it either and returns an error. =6/2*(1+2) also returns "9".

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

Excel and Google are both wrong. In fact, Microsoft excels 😂in this area, with Excel, the Windows calculator, and MathSolver all getting it wrong in different ways! dotnet.social/@SmartmanApps/111164851485070719

load more comments
view more: ‹ prev next ›