Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mooc-rr
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
1071ae964b205fc96951cf272887f050
mooc-rr
Commits
f04e6618
Commit
f04e6618
authored
Jun 16, 2025
by
1071ae964b205fc96951cf272887f050
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small changes
parent
5674bcaf
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
toy_notebook_en.ipynb
module2/exo1/toy_notebook_en.ipynb
+0
-3
No files found.
module2/exo1/toy_notebook_en.ipynb
View file @
f04e6618
...
...
@@ -7,7 +7,6 @@
"# On the computation of $\\pi$\n",
"\n",
"## Asking the maths library\n",
"\n",
"My computer tells me that $\\pi$ is *approximatively*"
]
},
...
...
@@ -34,7 +33,6 @@
"metadata": {},
"source": [
"## Buffon’s needle\n",
"\n",
"Applying the method of [Buffon’s needle](https://en.wikipedia.org/wiki/Buffon%27s_needle_problem), we get the **approximation**"
]
},
...
...
@@ -68,7 +66,6 @@
"metadata": {},
"source": [
"## Using a surface fraction argument\n",
"\n",
"A method that is easier to understand and does not make use of the sin function is based on the\n",
"fact that if $X ∼ U (0, 1)$ and $Y ∼ U (0, 1)$, then $P[ X^2 + Y^2 \\leq 1] = \\pi/4$ (see [\"Monte Carlo method\"\n",
"on Wikipedia]()). The following code uses this approach:"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment