An excellent resource for calculating pi by Monte Carlo method from CSU Fullerton Professor John H. Mathews.