Numerical Algorithms

Pi

Pi can be calculated as the following series:

4 * (1 - 1/3 + 1/5 - 1/7 + 1/9 ....)