From eaf587791bef1bc8a2bbdacce21e3ca75c6facec Mon Sep 17 00:00:00 2001 From: Pauline Hardouin Date: Thu, 23 Apr 2020 21:52:27 +0200 Subject: [PATCH] commit --- module2/exo1/toy_document_fr.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module2/exo1/toy_document_fr.Rmd b/module2/exo1/toy_document_fr.Rmd index 528c05a..1c94074 100644 --- a/module2/exo1/toy_document_fr.Rmd +++ b/module2/exo1/toy_document_fr.Rmd @@ -32,7 +32,7 @@ library(ggplot2) ggplot(df, aes(x=X,y=Y,color=Accept)) + geom_point(alpha=.2) + coord_fixed() + theme_bw() ``` -Il est alors aisé d’obtenir une approximation (pas terrible) de π en comptant combien de fois, en moyenne, $X^2 + Y^2 \le$ est inférieur à 1: +Il est alors aisé d’obtenir une approximation (pas terrible) de $\pi$ en comptant combien de fois, en moyenne, $X^2 + Y^2 \le$ est inférieur à 1: ```{r} 4*mean(df$Accept) ``` \ No newline at end of file -- 2.18.1