disk_monte_carlo_test, a MATLAB code which calls disk_monte_carlo(), which uses the Monte Carlo method to estimate the integral of a function over the interior of the general disk in 2D.
The information on this web page is distributed under the MIT license.
disk_monte_carlo, a MATLAB code which applies a Monte Carlo method to estimate the integral of a function on the circumference of the general disk in 2D;