Computing PI from a banana

A project log for Banana Random Number Generator

An Arduino based true random number generator. Takes it's name from the potassium present in bananas, used as radiation source.

valerio\newvalerio\new 03/09/2019 at 20:080 Comments

My banana (given the right tools) can compute a good estimate of PI using the Monte Carlo method.

Punti = points; Interni = inside; Esterni = outside.

I've written a processing code that let's you see the points beeing added to the plot every radioactive event. Consult the internet if you don't know this method yet. It's probalby one of the most inefficient methods to get a numerical estimation of pi, but it works and it's very intuitive.

The code is available in the github repo: