Description Usage Arguments Value Examples
This function 'EoneD(f,N,lb,up)' shows the Expect value of the given pdf (with one r.v.) by using single variabel rejection sampling.
| 1 | EoneD(f, N, lb, ub)
 | 
| f | the pdf that we are sampling from | 
| N | the nimber of attempted samples. | 
| lb | lower bound of support of f | 
| ub | upper bound of support of f | 
mean of given pdf (with one r.v.)
| 1 2 3 4 5 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.