diff --git a/module2/exo1/toy_notebook_fr.ipynb b/module2/exo1/toy_notebook_fr.ipynb index 0fdf11c244fbf1e9fc4b88c023c6fd3e7310bb23..da1464dd943d392fb98ee88949d98f1d7f1a7021 100644 --- a/module2/exo1/toy_notebook_fr.ipynb +++ b/module2/exo1/toy_notebook_fr.ipynb @@ -76,7 +76,7 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 12, "metadata": {}, "outputs": [ { @@ -94,7 +94,6 @@ ], "source": [ "%matplotlib inline\n", - "\n", "import matplotlib.pyplot as plt\n", "\n", "np.random.seed(seed=42)\n", @@ -102,8 +101,6 @@ "x = np.random.uniform(size=N, low=0, high=1)\n", "y = np.random.uniform(size=N, low=0, high=1)\n", "\n", - "\n", - "\n", "accept = (x*x+y*y) <= 1\n", "reject = np.logical_not(accept)\n", "\n", @@ -117,7 +114,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "Il est alors aisé d’obtenir une approximation (pas terrible) de $\\pi$ en comptant combien 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 combien de fois, en moyenne, $X^2 + Y^2$ est inférieur à 1 :" ] }, {