animation/example/mc-hitormiss/
animation/example/mc-hitormiss/
Integrate a function using the Hit-or-Miss Monte Carlo algorithm.
[…] We compute the proportion of points hitting the area under the curve, and the integral can be estimated by the proportion …