The Open Source Physics website will be unavailable Friday evening through Saturday afternoon as electrical work occurs in the American Center of Physics server room. Down time will begin at 6PM Eastern Time on Friday. Service is expected to resume by 6PM on Saturday, July 30.

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.

Please note that this resource requires
at least version 1.6 of
Java (JRE).

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. download 5kb .zip
Last Modified: February 11, 2012
previous versions

F. Esquembre, Computer Program MONTE CARLO ONE-DIMENSION INTEGRATION MODEL (2012), WWW Document, (http://www.compadre.org/Repository/document/ServeFile.cfm?ID=11703&DocID=2581).

F. Esquembre, Computer Program MONTE CARLO ONE-DIMENSION INTEGRATION MODEL (2012), <http://www.compadre.org/Repository/document/ServeFile.cfm?ID=11703&DocID=2581>.

Esquembre, F. (2012). Monte Carlo One-dimension Integration Model [Computer software]. Retrieved July 29, 2016, from http://www.compadre.org/Repository/document/ServeFile.cfm?ID=11703&DocID=2581

%A Francisco Esquembre %T Monte Carlo One-dimension Integration Model %D 2012 %U http://www.compadre.org/Repository/document/ServeFile.cfm?ID=11703&DocID=2581 %O application/java

%0 Computer Program %A Esquembre, Francisco %D 2012 %T Monte Carlo One-dimension Integration Model %U http://www.compadre.org/Repository/document/ServeFile.cfm?ID=11703&DocID=2581

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.

The Easy Java Simulations Modeling and Authoring Tool is needed to explore the computational model used in the Monte Carlo One-dimension Integration Model.