From 27dd2fd0ea2231f596cd0f3aa1d8495e1b42ff27 Mon Sep 17 00:00:00 2001 From: 05b31c85d369470fbd496e3b1e030ef3 <05b31c85d369470fbd496e3b1e030ef3@app-learninglab.inria.fr> Date: Mon, 20 Sep 2021 15:11:49 +0000 Subject: [PATCH] Update toy_document_fr.Rmd --- module2/exo1/toy_document_fr.Rmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module2/exo1/toy_document_fr.Rmd b/module2/exo1/toy_document_fr.Rmd index 21ebdb5..852cc4f 100644 --- a/module2/exo1/toy_document_fr.Rmd +++ b/module2/exo1/toy_document_fr.Rmd @@ -40,10 +40,10 @@ ggplot(df, aes(x=X,y=Y,color=Accept)) + geom_point(alpha=.2) + coord_fixed() + t ``` -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: +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 } +```{r} 4*mean(df$Accept) ``` -- 2.18.1