From a08125d4d56b8949bffbcfd52d84365a6bd6f347 Mon Sep 17 00:00:00 2001 From: c0d30d5799ef748507ba5dd9bd047824 Date: Fri, 15 Jan 2021 11:54:06 +0000 Subject: [PATCH] =?UTF-8?q?IL=20est=20alors=20ais=C3=A9=20:=20je=20supprim?= =?UTF-8?q?e=20Il?= 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 90b575d..5e662b2 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() ``` -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: + 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