From 88b6f7bee9e0e33e742ffecc8d10d51caec0ab76 Mon Sep 17 00:00:00 2001 From: c0d30d5799ef748507ba5dd9bd047824 Date: Fri, 15 Jan 2021 11:54:51 +0000 Subject: [PATCH] =?UTF-8?q?je=20rajoute=20ce=20que=20j'avais=20supprim?= =?UTF-8?q?=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module2/exo1/toy_notebook_fr.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module2/exo1/toy_notebook_fr.Rmd b/module2/exo1/toy_notebook_fr.Rmd index 5e662b2..90b575d 100644 --- a/module2/exo1/toy_notebook_fr.Rmd +++ b/module2/exo1/toy_notebook_fr.Rmd @@ -44,7 +44,7 @@ library(ggplot2) ggplot(df, aes(x=X,y=Y,color=Accept)) + geom_point(alpha=.2) + coord_fixed() + theme_bw() ``` - est alors aisé d'obtenir une approximation (pas terrible) de $\pi$ en comptant combien de fois, en moyenne, $X^2+Y^2$ 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$ est inférieur à 1: ```{r approximation de pi} 4*mean(df$Accept) -- 2.18.1