ZhongxuanWang / calc_pi

Different ways of calculating pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using Different Ways to Culculate Pi.

1. Using Leibniz equation to get Pi

Special Thanks: @Maizhe(Michael) Yang

2. Using (universally distributed) random number to get pi

When iteration = 1000000000, the result is : 3.141598324
Special Thanks: youtube@Joma Tech

About

Different ways of calculating pi


Languages

Language:Python 100.0%