diff --git a/module2/exo1/toy_notebook_fr.ipynb b/module2/exo1/toy_notebook_fr.ipynb index 9ebf1c1f94418ab246f9ebebf14c5768972c0025..b99bf189db084c53465d8143d47108153d538a0f 100644 --- a/module2/exo1/toy_notebook_fr.ipynb +++ b/module2/exo1/toy_notebook_fr.ipynb @@ -12,7 +12,7 @@ "metadata": {}, "source": [ "## En demandant à la lib maths\n", - "Mon ordinateur m'indique que $\\pi$ vaut approximativement " + "Mon ordinateur m'indique que $\\pi$ vaut *approximativement* " ] }, { @@ -76,7 +76,7 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 14, "metadata": {}, "outputs": [ { @@ -100,6 +100,7 @@ "N = 1000\n", "x = np.random.uniform(size=N, low=0, high=1)\n", "y = np.random.uniform(size=N, low=0, high=1)\n", + "\n", "accept = (x*x+y*y) <= 1\n", "reject = np.logical_not(accept)\n", "\n", @@ -113,7 +114,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Il est alors aisé d'obtenir une approximation (pas terrible) de $\\pi$ en comptant de fois, en moyenne, $X^2+Y^2$ est inférieur à 1 :" + "Il est alors aisé d'obtenir une approximation (pas terrible) de $\\pi$ en comptant de fois, en moyenne, $X^2 + Y^2$ est inférieur à 1 :" ] }, {