sm | R Documentation |
Monte Carlo Integration
sm(h, a = 0, b = 1, n = 1)
h |
function |
a |
lower limit |
b |
upper limit |
n |
number of generated points |
h=function(x) sqrt(1-x^2) sm(h,a=0,b=1,n=1e5)*4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.