paulsoper / approximating-pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README - Approximating Pi

This repository contains methods, in Python, for both single and multiple processors, for approximating pi.

Some of the programs use the python BigFloat package

approximate-pi-chudnovsky.py - approximates pi using the Chudnovsky method

approximate-pi-montecarlo.py - approximates pi using the monte carlo method

mpi-approximate-pi-montecarlo.py - same, with multiple processors

approximate-pi-leibniz.py - approximate pi using the Leibniz method

approximate-pi-madhava-leibniz.py approximate pi using the Madhava-Leibniz method

approximate-pi-ramanujan.py - approximate pi using the Ramanujan method

approximate-pi-various.py - approximate pi with various ratios

approximate-pi-viete.py - approximate pi using the Viete method

About


Languages

Language:Python 100.0%