written by
Wolfgang Christian,
Anne Cox,
Harvey Gould, and
Jan Tobochnik

The Monte Carlo Pi program program uses a Monte Carlo routine to approximate pi by approximating the area of a unit circle. The program is distributed as a ready-to-run (compiled) Java archive. Double-clicking the ejs_stp_MonteCarloPi.jar file will run the program if Java is installed on your computer.

The program was created using Ejs (Easy Java Simulations). You can modify this program and see how it is designed if you have Ejs installed by right-clicking within the window and selecting Open Ejs Model from the pop-up menu. Ejs, a part of the Open Source Physics Project, is designed to make it easier to access, modify, and generate computer models. Information about Ejs is available at www.um.es/fem/Ejs/.

Additional Open Source Physics programs for Statistical and Thermal Physics can be found by searching ComPADRE for Open Source Physics, STP or Statistical and Thermal Physics.

Please note that this resource requires
at least version 1.5 of
Java.

Ejs STP MonteCarloPi Documentation
A pdf document that briefly describes the Monte Carlo Pi program. It describes how to use the ejs_stp_MonteCarloPi.jar file and contains short tutorial… more... download 259kb .pdf
Published: May 30, 2008

Ejs STP MonteCarloPi Distribution
The materials distributed in this zip file are in support of the Monte Carlo Pi model. This distribution contains the Ejs STP MonteCarloPi program,… more... download 1289kb .zip
Published: May 30, 2008

Monte Carlo Pi model source code.
The source code zip archive contains an XML representation of the Monte-Carlo Pi model. Unzip this archive in your EJS workspace to compile and run this… more... download 9kb .zip
Last Modified: March 22, 2009
previous versions

W. Christian, A. Cox, H. Gould, and J. Tobochnik, Computer Program EJS STP MONTE CARLO PI MODEL (2008), WWW Document, (http://www.compadre.org/Repository/document/ServeFile.cfm?ID=7311&DocID=488).

W. Christian, A. Cox, H. Gould, and J. Tobochnik, Computer Program EJS STP MONTE CARLO PI MODEL (2008), <http://www.compadre.org/Repository/document/ServeFile.cfm?ID=7311&DocID=488>.

Christian, W., Cox, A., Gould, H., & Tobochnik, J. (2008). Ejs STP Monte Carlo Pi Model [Computer software]. Retrieved October 25, 2014, from http://www.compadre.org/Repository/document/ServeFile.cfm?ID=7311&DocID=488

Christian, W, A. Cox, H. Gould, and J. Tobochnik. "Ejs STP Monte Carlo Pi Model." http://www.compadre.org/Repository/document/ServeFile.cfm?ID=7311&DocID=488 (accessed 25 October 2014).

Christian, Wolfgang, Anne Cox, Harvey Gould, and Jan Tobochnik. Ejs STP Monte Carlo Pi Model. Computer software. 2008. Java 1.5. 25 Oct. 2014 <http://www.compadre.org/Repository/document/ServeFile.cfm?ID=7311&DocID=488>.

@misc{
Author = "Wolfgang Christian and Anne Cox and Harvey Gould and Jan Tobochnik",
Title = {Ejs STP Monte Carlo Pi Model},
Month = {May},
Year = {2008}
}

%A Wolfgang Christian %A Anne Cox %A Harvey Gould %A Jan Tobochnik %T Ejs STP Monte Carlo Pi Model %D May 30, 2008 %U http://www.compadre.org/Repository/document/ServeFile.cfm?ID=7311&DocID=488 %O application/java

%0 Computer Program %A Christian, Wolfgang %A Cox, Anne %A Gould, Harvey %A Tobochnik, Jan %D May 30, 2008 %T Ejs STP Monte Carlo Pi Model %8 May 30, 2008 %U http://www.compadre.org/Repository/document/ServeFile.cfm?ID=7311&DocID=488

Disclaimer: ComPADRE offers citation styles as a guide only. We cannot offer interpretations about citations as this is an automated procedure. Please refer to the style manuals in the Citation Source Information area for clarifications.