Imagine the following scenario. The end of civilization has occurred, zombies have taken over the Earth and all access to modern technology has ended. The few survivors suddenly need to know the value of pi and, being a mathematician, they turn to you. What do you do? According to a couple of Canadian mathematicians, the answer is to repeatedly fire a Mossberg 500 pump action shotgun at a square aluminum target about 20 meters away. Then imagine that the square is inscribed with an arc drawn between opposite corners that maps out a quarter circle. If the sides of the square are equal to 1, then the area of the quarter circle is pi/4. Next, count the number of pellet holes that fall inside the area of the quarter circle as well as the total number of holes. The ratio between these is an estimate of the ratio between the area of the quarter circle and the area of a square, or in other words pi/4. So multiplying this number by 4 will give you an estimate of pi. That's a process known as a Monte Carlo approximation and it is complicated by factors such as the distribution of the pellets not being random. But the mathematicians show how to handle these too. The result? According to this method, pi is 3.13, which is just 0.33 per cent off the true value. Handy if you find yourself in a post-apocalyptic world.
Education, politics, and anything else that catches my attention.
Wednesday, April 30, 2014
2nd Amendment Application of Math
I programmed one of my first computers (in BASIC, no less) to do this very type of simulation:
Subscribe to:
Post Comments (Atom)
1 comment:
You could just divide 22 by 7. It was stated in the problem, that YOU are a mathematician. As such, you would know this and calculate pi easily while saving the Mossberg shells for the next horde of zombies that rush you and your fellow survivors.
Post a Comment