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.

Monte Carlo One-dimension Integration Model Documents

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

Main Document

Monte Carlo One-dimension Integration Model 

written by Francisco Esquembre

The Monte Carlo One-dimension Integration Model illustrates the Monte Carlo integration algorithm to compute the integral of a function f(x). The simulation allows you to select the number of random points, to make an automatic fit to the function graph in the Y axis (thus improving the accuracy of the estimation), and to display the points or not.  The simulation computes the actual value of the integral using a Romberg algorithm to test the Monte Carlo integral approximation.

Last Modified June 10, 2014

This file has previous versions.

Source Code Documents

Monte Carlo One-dimensional Integration Source Code 

The source code zip archive contains an XML representation of the Monte Carlo One-dimensional Integration Model.  Unzip this archive in your EJS workspace to compile and run this model using EJS.

Last Modified February 11, 2012

This file has previous versions.

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