From c9f7749e0dce1ec1f47179e33f39df225b44aa28 Mon Sep 17 00:00:00 2001 From: e8cd81a9daec1342b91d86159a8e6219 Date: Wed, 31 Aug 2022 17:11:25 +0000 Subject: [PATCH] final --- module2/exo1/toy_notebook_fr.ipynb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/module2/exo1/toy_notebook_fr.ipynb b/module2/exo1/toy_notebook_fr.ipynb index fcc5871..34307e3 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" } -- 2.18.1