Description Usage Arguments Details Value See Also Examples
Simple Monte Carlo Integraton
1 2 3 |
f |
function to integrate |
a |
the lower-bound of integration |
b |
the upper-bound of integration |
m |
the number of subintervals to calculate |
xdom |
the domain on |
ydom |
the domain on |
The mcint function uses a simple Monte Carlo algorithm to
estimate the value of an integral. The parameter n sets the
total number of evaluation points. The parameter max.y is the
maximum expected value of the range of function f. The
mcint2 provides Monte Carlo integration in two dimensions.
the value of the integral
Other integration:
adaptint(),
gaussint(),
giniquintile(),
midpt(),
revolution-solid,
romberg(),
simp38(),
simp(),
trap()
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.