From 462e9205e874a925da2c2917b5e4929b27c702e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A9gane=20Da=20Mota?= Date: Sun, 20 Feb 2022 15:55:01 +0100 Subject: [PATCH] =?UTF-8?q?Commit=20Avanc=C3=A9=20Exo1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- module2/exo1/toy_document_fr.Rmd | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/module2/exo1/toy_document_fr.Rmd b/module2/exo1/toy_document_fr.Rmd index 833dd92..a6f1383 100644 --- a/module2/exo1/toy_document_fr.Rmd +++ b/module2/exo1/toy_document_fr.Rmd @@ -1,6 +1,22 @@ --- title: "A propos du calcul de Pi" -author: "Mégane Da Mota" -date: "*20 février 2022*" -output: html_document +author: '*Mégane Da Mota*' +date: '*20 février 2022*' +output: + html_document: default + pdf_document: default --- + +# En demandant à la lib math + +Mon ordinateur m'indique que $\pi$ vaut *__approximativement__* + +```{r} +pi +``` + +# En utilisant la méthode des aiguilles de Buffon + +Mais calculé avec la **méthode** des [aiguilles de buffon](https://fr.wikipedia.org/wiki/Aiguille_de_Buffon), on obtiendrait comme **approximation** : + + -- 2.18.1