From a52d30e7860f6f88ec5dc6a6781245cff93a4eec Mon Sep 17 00:00:00 2001 From: e962457f401959b28b04eb460a3018de Date: Thu, 3 Apr 2025 14:12:59 +0000 Subject: [PATCH] correction nombre de cells --- module2/exo1/toy_notebook_fr.ipynb | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/module2/exo1/toy_notebook_fr.ipynb b/module2/exo1/toy_notebook_fr.ipynb index 688081a..c703d5a 100644 --- a/module2/exo1/toy_notebook_fr.ipynb +++ b/module2/exo1/toy_notebook_fr.ipynb @@ -91,7 +91,7 @@ "metadata": {}, "source": [ "Sinon, une méthode plus simple à comprendre et ne faisant pas intervenir d’appel à la fonction\n", - "sinus se base sur le fait que si $X ∼ U(0, 1)$ et $Y ∼ U(0, 1)$ alors $P[X^2 + Y^2 ≤ 1] = π/4$ (voir\n", + "sinus se base sur le fait que si $X \\sim U(0, 1)$ et $Y \\sim U(0, 1)$ alors $P[X^2 + Y^2 ≤ 1] = \\pi/4$ (voir\n", "[méthode de Monte Carlo sur Wikipedia](https://fr.wikipedia.org/wiki/M%C3%A9thode_de_Monte-Carlo#D%C3%A9termination_de_la_valeur_de_%CF%80)). Le code suivant illustre ce fait :" ] }, @@ -157,13 +157,6 @@ "source": [ "4*np.mean(accept)" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": { -- 2.18.1