Suppression #

parent 16ed63b7
......@@ -22,11 +22,11 @@ pi
Mais calculé avec la __méthode__ des [aiguilles de Buffon](https://fr.wikipedia.org/wiki/Aiguille_de_Buffon), on obtiendrait comme __approximation__ :
```{r}
#set.seed(42)
#N = 100000
#x = runif(N)
#theta = pi/2*runif(N)
#2/(mean(x+sin(theta)>1))
set.seed(42)
N = 100000
x = runif(N)
theta = pi/2*runif(N)
2/(mean(x+sin(theta)>1))
```
##Avec un argument "fréquentiel" de surface
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment