Stories
Slash Boxes
Comments

SoylentNews is people

posted by martyb on Thursday March 14 2019, @07:13PM   Printer-friendly
from the ouch dept.

Submitted via IRC for chromas

For Pi Day, Calculate Pi Yourself Using Two Colliding Balls

This is at least my ninth year of writing about Pi Day—here is my post from 2010. Of course it's called Pi Day because the date, 3/14, is similar to the first three digits of pi (3.1415 …). At this point I've built up a whole library of fun things in honor of Pi Day.

Here is a new one. You can calculate the digits of pi using elastic collisions between two objects of different masses and a wall.

[...] There are two balls, A and B. Ball A has a larger mass and is initially moving. It collides with ball B such that ball B speeds up and ball A slows down just a little bit (this is a perfectly elastic collision). After this, ball B starts moving toward the wall and eventually bounces off it back toward ball A for another collision. This continues until ball A is moving away from the wall instead of toward it, and there are no longer any collisions.

Now for the pi part. If you know that the mass of ball A is 100 times greater than that of ball B, there will be 31 collisions. If the ratio of masses is 10,000 to 1, there will be 314 collisions. Yes, that is the first 3 digits of pi. If you had a mass ratio of 1 million to 1, you would get 3,141 collisions. (Remember the first few digits of pi are 3.1415 …) In general, if you want "d" digits of pi, then you need mass A divided by mass B to be 100 raised to the d-1 power.

This is not a very efficient method for calculating the digits of pi, but it seems to work. Here is a great video from 3Brown1Blue that explains this situation. [YouTube link] Also, here is an older video from Numberphile that also goes over this problem.

[What I want to know is which one is better: apple, raspberry, or apricot? --ed.]


Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 2) by krishnoid on Thursday March 14 2019, @08:40PM (2 children)

    by krishnoid (1156) on Thursday March 14 2019, @08:40PM (#814444)

    You can remember 113355 -> 355/113 -> pi to better than 1 in 1E6. I've seen it in equations sometimes.

    Starting Score:    1  point
    Karma-Bonus Modifier   +1  

    Total Score:   2  
  • (Score: 2) by DannyB on Thursday March 14 2019, @09:06PM (1 child)

    by DannyB (5839) Subscriber Badge on Thursday March 14 2019, @09:06PM (#814469) Journal

    But I thought PI was Irrational. Unhinged. Deranged.

    --
    People today are educated enough to repeat what they are taught but not to question what they are taught.
    • (Score: 0) by Anonymous Coward on Thursday March 14 2019, @09:32PM

      by Anonymous Coward on Thursday March 14 2019, @09:32PM (#814492)

      But I thought PI was Irrational. Unhinged. Deranged.
      Reply

      Can't read one sentence?