From 19c3f8fedf85d20a3c6992a736e9e3b83a432bac Mon Sep 17 00:00:00 2001 From: 5a3c50f198d5057de9082e297ea44215 <5a3c50f198d5057de9082e297ea44215@app-learninglab.inria.fr> Date: Mon, 28 Apr 2025 15:56:54 +0000 Subject: [PATCH] Update toy_notebook_fr --- module2/exo1/toy_notebook_fr.ipynb | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/module2/exo1/toy_notebook_fr.ipynb b/module2/exo1/toy_notebook_fr.ipynb index 3bfafc7..32b5667 100644 --- a/module2/exo1/toy_notebook_fr.ipynb +++ b/module2/exo1/toy_notebook_fr.ipynb @@ -109,6 +109,14 @@ "ax.set_aspect('equal')" ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "Il est alors aisé d’obtenir une approximation (pas terrible) de $\\pi$ en comptant combien de fois,\n", + "en moyenne, $X^2+Y^2$ est inférieur à 1 " + ] + }, { "cell_type": "code", "execution_count": 18, @@ -128,13 +136,6 @@ "source": [ "4*np.mean(accept)" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": { -- 2.18.1