From a762930d732704a6d03df22e2eee29a8ca62a87b Mon Sep 17 00:00:00 2001 From: 70445e90884e1f3b3beadc18bfaf46a6 <70445e90884e1f3b3beadc18bfaf46a6@app-learninglab.inria.fr> Date: Wed, 14 Apr 2021 14:33:59 +0000 Subject: [PATCH] Update toy_document_fr.Rmd --- module2/exo1/toy_document_fr.Rmd | 8 -------- 1 file changed, 8 deletions(-) diff --git a/module2/exo1/toy_document_fr.Rmd b/module2/exo1/toy_document_fr.Rmd index 49543da..1dbd927 100644 --- a/module2/exo1/toy_document_fr.Rmd +++ b/module2/exo1/toy_document_fr.Rmd @@ -1,8 +1,5 @@ --- title: "À propos du calcul de pi" -author: "Arnaud Legrand" -date: "25 juin 2018" -output: html_document --- @@ -44,8 +41,3 @@ 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 : - -```{r} -4*mean(df$Accept) -``` -- 2.18.1