The goal of this repository is to present a few algorithms that allow you to calculate π with a high level of precision.
In order to do this the Python Decimal module is used. The module allows one to define the number decimal spaced used in the calculation. Obviously the greater the number of decimal spaces, the longer the calculation of by will take.
Due to the high level of precision required for the calculation of factorials and square roots, the Math module is also used in most algorithms.
All the presented algorithms are interactive processes, that increase the precision and the number of decimal spaces, the more loops the calculation is run.
The algorithms have been setup in a away that the while loop ends once further interactions do not change the final number (for the number of decimal spaces selected).
Register the start time and the end time of the calculation, so that the total calculating time can be meassuredSave the final result of π in to a file, toghether with the number of interactions, start time and end timeRequest the desiered level of precision (number of decimal spaces) right at the beggining -> done for Chudnovsky