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
7b6ab3e907fcca64ce4257f26cd31e57
mooc-rr
Commits
740f24bf
Commit
740f24bf
authored
Jan 05, 2022
by
7b6ab3e907fcca64ce4257f26cd31e57
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compléter les dernières modifications
parent
81ae6f81
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
+15
-7
toy_notebook_fr.ipynb
module2/exo1/toy_notebook_fr.ipynb
+15
-7
No files found.
module2/exo1/toy_notebook_fr.ipynb
View file @
740f24bf
...
...
@@ -55,7 +55,7 @@
},
{
"cell_type": "code",
"execution_count": 1
0
,
"execution_count": 1
4
,
"metadata": {
"hideCode": false,
"hidePrompt": false
...
...
@@ -64,10 +64,10 @@
{
"data": {
"text/plain": [
"3.12891113892365
48
"
"3.12891113892365
5
"
]
},
"execution_count": 1
0
,
"execution_count": 1
4
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -99,6 +99,7 @@
"hideCode": false,
"hidePrompt": false
},
"outputs": [],
"source": [
"%matplotlib inline \n",
"import matplotlib.pyplot as plt\n",
...
...
@@ -121,21 +122,21 @@
"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 p en comptant combien de fois, en moyenne, $X^2 +
Y^2$ est inférieur à 1 :"
]
},
{
"cell_type": "code",
"execution_count":
8
,
"execution_count":
15
,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"3.112
0000000000001
"
"3.112"
]
},
"execution_count":
8
,
"execution_count":
15
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -143,6 +144,13 @@
"source": [
"4*np.mean(accept)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
...
...
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