From b289794a4101c360e0ac241c697187e5315b8b5f Mon Sep 17 00:00:00 2001 From: 2e07cdc5aaf5c3993089d76e376cb88f <2e07cdc5aaf5c3993089d76e376cb88f@app-learninglab.inria.fr> Date: Sun, 15 Oct 2023 10:52:55 +0000 Subject: [PATCH] Solution 5 --- module2/exo1/toy_notebook_en.ipynb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/module2/exo1/toy_notebook_en.ipynb b/module2/exo1/toy_notebook_en.ipynb index 83d0426..4068e6c 100644 --- a/module2/exo1/toy_notebook_en.ipynb +++ b/module2/exo1/toy_notebook_en.ipynb @@ -70,13 +70,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "## Using a surface fraction argument" - ] - }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ + "## Using a surface fraction argument\n", "A method that is easier to understand and does not make use of the sin function is based on the fact that if $X\\sim U(0,1)$ and $Y\\sim U(0,1)$, then $P[X^2+Y^2\\leq 1] = \\pi/4$ (see [\"Monte Carlo method\" on Wikipedia](https://en.wikipedia.org/wiki/Monte_Carlo_method)). The following code uses this approach:" ] }, -- 2.18.1