After 10000 iterations pi is 3.12120000, error is 0.02039265
After 20000 iterations pi is 3.14920000, error is 0.00760735
After 30000 iterations pi is 3.13840000, error is 0.00319265
After 40000 iterations pi is 3.14010000, error is 0.00149265
After 50000 iterations pi is 3.13880000, error is 0.00279265
After 60000 iterations pi is 3.14033333, error is 0.00125932
After 70000 iterations pi is 3.14234286, error is 0.00075020
After 80000 iterations pi is 3.13845000, error is 0.00314265
After 90000 iterations pi is 3.14062222, error is 0.00097043
After 100000 iterations pi is 3.14060000, error is 0.00099265
Main Bootstrap idea
Setting: Assume given the original sample x_1,\ldots,x_n from unknown population f
Bootstrap: Regard the sample as the whole population
Replace the unknown distribution f with the sample distribution \hat{f}(x) = \begin{cases} \frac1n & \quad \text{ if } \, x \in \{x_1, \ldots, x_n\} \\ 0 & \quad \text{ otherwise } \end{cases}
Any sampling will be done from \hat{f} \qquad \quad (motivated by Glivenko-Cantelli Thm)
Note: \hat{f} puts mass \frac1n at each sample point
Drawing an observation from \hat f is equivalent to drawing one point at random from the original sample \{x_1,\ldots,x_n\}








