Introduction - If you have any usage issues, please Google them yourself
Chuan just wrong ... ... this is the Monte Carlo method to calculate pi approximation of the source. Is randomly generated from 0 to 1 between two-dimensional uniformly distributed data points, the calculation falls within the unit circle with the ratio of the total points is the approximation of pi