video thumbnail 13:35
RainPi - Calculating Pi with Raindrops! (Part 2: How it Works)

2016-08-23

[public] 11.0K views, 612 likes, dislikes audio only

Calculating Pi with the Monte Carlo Method is a common introductory programming exercise, but I wanted to get away from computer-generated "random" numbers and used falling raindrops! The apparatus can only complete one calculation - it calculates pi with the shape of its raindrop-detecting sensors.

This Pt. 2 video explains the Monte Carlo Method, the physical construction of the rain sensor, and the program running on the Arduino to count drops.

Music in this video:

I dunno

grapes

Creative Commons: Attribution

http://ccmixter.org/files/grapes/16626