Description Usage Arguments Value Author(s) Examples
Estimating pi by throwing needles at lines, whcih is buffons experiment.
1 | buffon(n=1000,l=1,d=1)
|
n |
Number of throwed needle |
l |
The length of the needle |
d |
The distance between the lines |
Return the number of hits and the estimated pi.
Steffan Leth Jensen
Department of mathematics and computer science (IMADA)
University of southern Denmark, SDU, Odense
steje14@student.sdu.dk
1 | Lazzerini experiment: buffon(3408,2.5,3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.