# #95 â€” Approximating the Value of Pi

Back

In this coding challenge, I use use a "monte carlo" method to approximate the value of Pi in Processing (Java).

List of the first million digits of pi (Ï€)

These two videos describe how to calculate the digits of pi using a simple computer program.

These video lessons accompany the introduction from the Learning Processing textbook.