Estimate pi using random numbers

Answer this interview question by calculating π with Julia

Bence Komarniczky
Towards Data Science
5 min readJan 13, 2022

--

Okay, so I really should be publishing this on pi day (March 14th) but I don’t think that will happen so here it is anyway. Let’s estimate pi using random numbers in Julia — of course 😉.

Photo by Hugo Aitken on Unsplash

This article has been inspired by this video by Joma. Go check out his channel if interested. He’s…

--

--

Data scientist building ML products in ad-tech. I write tutorials on data science🧑‍🔬, machine learning 🤖, Julia and cloud computing ☁️.