this post was submitted on 24 May 2024
295 points (98.7% liked)

xkcd

8973 readers
31 users here now

A community for a webcomic of romance, sarcasm, math, and language.

founded 2 years ago
MODERATORS
 

https://xkcd.com/2936

Alt text:

Karpov's construction of a series of increasingly large rice cookers led to a protracted deadlock, but exponential growth won in the end.

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

bon apetit. when you are done, i will donate one million dollars to charity of your choice. i don't have one million dollars. i will still honor my promise.

there is 2^64 - 1 (roughly ~~5.53 * 10^17~~ 1,84 × 10^19) grains of rice on the board.

according to google, grain of rice averages at about 30 miligrams (per random google result), which makes the rice on the board to weigh about 553 402 322 211 metric tons.

The total world rice production for 2022 was 776 461 457 metric tonnes (per wiki).

((2^64−1) × 0.03) / (10^6) / 776461457 = 712,72

so there is about 712 times as much rice as the whole earth's 2022 rice production.

this is why it is important to understand basic math in school, even if you don't plan to become a scientist.

because then the covid comes, and all these university of life graduates with their youtube research and common sense have absolutely no idea how fast the exponential curve is growing and what it means for the spread of the illness.

i understand you might have known this and being sarcastic with your post.

[–] [email protected] 23 points 7 months ago (1 children)

nah i could handle it. i hungy

[–] [email protected] 8 points 7 months ago

I like rice, rice is great when you’re hungry and you want 2,000 of something.

[–] [email protected] 8 points 7 months ago (1 children)

This was an old story about the inventor of chess and a king. Let me see if I can dig it up....

Yup, I remember now. It was with wheat grains, not rice:

https://en.wikipedia.org/wiki/Wheat_and_chessboard_problem

[–] [email protected] 3 points 7 months ago

I think there exist a lot of different versions, my 7th grade maths teacher explained it using rice.

[–] [email protected] 3 points 7 months ago

I don't see the problem here. It just means more rice for everyone.

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

This seems wrong...

10^17 milligrams

-> 10^14 grams

-> 10^11 kilograms

-> 10^8 tons

So it should actually be 553 402 322 tons, which means that we can do it only using the rice produced in 2022.

[–] [email protected] 2 points 6 months ago* (last edited 6 months ago) (1 children)

This seems wrong…

10^17 milligrams

(2^64−1) × 0.03 = 5.53 × 10^17 is weight in grams.

but i had an error in the second paragraph where i said this number is number of grains.

the ultimate result (712 times the annual production) is correct.

sorry for the confusion and thx for catching that.

[–] [email protected] 2 points 6 months ago

Gotcha, I didn't catch that on my first read-through.