PI is a mathematical constant used in the calculation of circles and various other mathematical operations, there is argument over what the value of the constant PI ~= 3.142 this little snippet shows how the value is derived from a finite series.
double derive_pi(int max_samples) { // arbitary constant-> incremented // by 2 to be used as denomiater (odd)
