From cdbb3bb483cf6199a7fcb836ff29c4df4f385f04 Mon Sep 17 00:00:00 2001 From: e8cd81a9daec1342b91d86159a8e6219 Date: Wed, 31 Aug 2022 17:07:27 +0000 Subject: [PATCH] =?UTF-8?q?Test=20=C3=A9ventuelles=20diff=C3=A9rences=20*?= =?UTF-8?q?=20et=20=5F=20pour=20italique=20et=20gras.=20Rien=20constat?= =?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.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module2/exo1/toy_notebook_fr.ipynb b/module2/exo1/toy_notebook_fr.ipynb index f79e9d0..fcc5871 100644 --- a/module2/exo1/toy_notebook_fr.ipynb +++ b/module2/exo1/toy_notebook_fr.ipynb @@ -50,7 +50,7 @@ }, "source": [ "## En utilisant la méthode des aiguilles de Buffon\n", - "Mais calculée avec la **méthode** des [aiguilles de Buffon](https://fr.wikipedia.org/wiki/Aiguille_de_Buffon), on obtiendrait comme **approximation** :" + "Mais calculée avec la **méthode** des [aiguilles de Buffon](https://fr.wikipedia.org/wiki/Aiguille_de_Buffon), on obtiendrait comme __approximation__ :" ] }, { @@ -77,7 +77,7 @@ "np.random.seed(seed=42)\n", "N = 10000\n", "x = np.random.uniform(size=N, low=0, high=1)\n", - "theta =n p.random.uniform(size=N, low=0, high=pi/2)\n", + "theta =np.random.uniform(size=N, low=0, high=pi/2)\n", "2/(sum((x+np.sin(theta))>1)/N)" ] }, -- 2.18.1