Update toy_document_orgmode_R_fr_MF

parent c97f7917
...@@ -12,6 +12,7 @@ Mon ordinateur m'indique que $\pi$ vaut *approximativement* ...@@ -12,6 +12,7 @@ Mon ordinateur m'indique que $\pi$ vaut *approximativement*
```{r cars} ```{r cars}
pi pi
*3.141592653589793*
``` ```
...@@ -24,6 +25,7 @@ N = 100000 ...@@ -24,6 +25,7 @@ N = 100000
x = runif(N) x = runif(N)
theta = pi/2*runif(N) theta = pi/2*runif(N)
2/(mean(x+sin(theta)>1)) 2/(mean(x+sin(theta)>1))
_3.12891113892_
``` ```
# Avec un argument “fréquentiel” de surface # Avec un argument “fréquentiel” de surface
...@@ -47,4 +49,5 @@ Il est alors aisé d’obtenir une approximation (pas terrible) de $\pi$ en comp ...@@ -47,4 +49,5 @@ Il est alors aisé d’obtenir une approximation (pas terrible) de $\pi$ en comp
```{r } ```{r }
4*mean(df$Accept) 4*mean(df$Accept)
3.1120000000000001
``` ```
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