Where’s the chocolate? Rather than shading a square, we will place a milk chocolate chip on a square we would have colored red and a white chocolate chip on a region that would have been white. To begin, the six by six grid on the left becomes the chocolate chip mosaic we see on the right, which uses 14 white chocolate of the total 36 chips. So, our estimate of π is 2.4444. We are off by about 0.697.
Next, we move to an 11 by 11 grid of chocolate chips. If you count carefully, we use 83 milk chocolate chips of the 121 total. This gives us an estimate of 2.7438 for π, which correlates to an error of about 0.378.
Finally, with the help of public school teachers in my seminar Math through Popular Culture for the Charlotte Teachers Institute, we placed chocolate chips on a 54 by 54 grid. In the end, we used 2232 milk chocolate chips giving an estimate of 3.0617 having an error of 0.0799.
Make a robot friend with Adafruit’s CRICKIT – A Creative Robotics & Interactive Construction Kit. It’s an add-on to our popular Circuit Playground Express, FEATHER and other platforms to make and program robots with CircuitPython, MakeCode, and Arduino. Start controlling motors, servos, solenoids. You also get signal pins, capacitive touch sensors, a NeoPixel driver and amplified speaker output. It complements & extends your boards so you can still use all the goodies on the microcontroller, now you have a robotics playground as well.