square_monte_carlo_test, an Octave code which calls square_monte_carlo(), which estimates the integral of a function over the interior of the unit square in 2D.
The information on this web page is distributed under the MIT license.
square_monte_carlo, an Octave code which applies a Monte Carlo method to estimate the integral of a function over the interior of the unit square in 2D;