diff --git a/module2/exo1/toy_notebook_fr.ipynb b/module2/exo1/toy_notebook_fr.ipynb index fcc5871be72cab2de7f1f7b5b28d52f8fda682dd..34307e3551557d065dbbbf2ba2c5eb2b3c49941e 100644 --- a/module2/exo1/toy_notebook_fr.ipynb +++ b/module2/exo1/toy_notebook_fr.ipynb @@ -55,7 +55,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 9, "metadata": { "hideCode": false, "hidePrompt": false @@ -67,7 +67,7 @@ "3.128911138923655" ] }, - "execution_count": 3, + "execution_count": 9, "metadata": {}, "output_type": "execute_result" } @@ -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 =np.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)" ] }, @@ -94,7 +94,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 10, "metadata": { "hideCode": false, "hidePrompt": false @@ -144,7 +144,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 11, "metadata": { "hideCode": false, "hidePrompt": false @@ -156,7 +156,7 @@ "3.112" ] }, - "execution_count": 5, + "execution_count": 11, "metadata": {}, "output_type": "execute_result" }