APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Ejs STP Monte Carlo Pi Model Documents

This material has 4 associated documents. Select a document title to view a document's information.

Main Document

Ejs STP MonteCarloPi Model 

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.

Last Modified June 5, 2014

This file has previous versions.

Supplemental Documents (2)

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 exercises for use with the ejs_stp_MonteCarloPi.jar file.

Published May 30, 2008
Last Modified 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, documentation, and exercises.

Published May 30, 2008
Last Modified May 30, 2008

Source Code Documents

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 model using EJS.

Last Modified March 22, 2009

This file has previous versions.

OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book