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
hakimouaras
mooc-rr
Commits
6e9c9781
Commit
6e9c9781
authored
Apr 20, 2020
by
hakimouaras
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small corrections
parent
675572bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
9 deletions
+21
-9
toy_notebook_fr.ipynb
module2/exo1/toy_notebook_fr.ipynb
+21
-9
No files found.
module2/exo1/toy_notebook_fr.ipynb
View file @
6e9c9781
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
"cell_type": "markdown",
"cell_type": "markdown",
"metadata": {},
"metadata": {},
"source": [
"source": [
"## À propos du calcul de
π
"
"## À propos du calcul de
$\\pi$
"
]
]
},
},
{
{
...
@@ -32,12 +32,12 @@
...
@@ -32,12 +32,12 @@
"cell_type": "markdown",
"cell_type": "markdown",
"metadata": {},
"metadata": {},
"source": [
"source": [
"Mon ordinateur m’indique que
π
vaut approximativement"
"Mon ordinateur m’indique que
$\\pi$
vaut approximativement"
]
]
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
6
,
"execution_count":
5
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
7
,
"execution_count":
6
,
"metadata": {
"metadata": {
"scrolled": true
"scrolled": true
},
},
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
"3.128911138923655"
"3.128911138923655"
]
]
},
},
"execution_count":
7
,
"execution_count":
6
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
}
}
...
@@ -106,14 +106,14 @@
...
@@ -106,14 +106,14 @@
"metadata": {},
"metadata": {},
"source": [
"source": [
"Sinon, une méthode plus simple à comprendre et ne faisant pas intervenir d’appel à la fonction \n",
"Sinon, une méthode plus simple à comprendre et ne faisant pas intervenir d’appel à la fonction \n",
"sinus se base sur le fait que si X ∼ U(0,1) et Y ∼ U(0,1) alors P[
X2 + Y2 ≤ 1] = π
/4 (voir \n",
"sinus se base sur le fait que si X ∼ U(0,1) et Y ∼ U(0,1) alors P[
$X^2$ + $Y^2$ ≤ 1] = $\\pi$
/4 (voir \n",
"[méthode de Monte Carlo sur Wikipedia](https://fr.wikipedia.org/wiki/Méthode_de_Monte-Carlo#D%C3%A9termination_de_la_valeur_de_%CF%80)). \n",
"[méthode de Monte Carlo sur Wikipedia](https://fr.wikipedia.org/wiki/Méthode_de_Monte-Carlo#D%C3%A9termination_de_la_valeur_de_%CF%80)). \n",
"Le code suivant illustre ce fait :"
"Le code suivant illustre ce fait :"
]
]
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
8
,
"execution_count":
7
,
"metadata": {},
"metadata": {},
"outputs": [
"outputs": [
{
{
...
@@ -156,7 +156,7 @@
...
@@ -156,7 +156,7 @@
},
},
{
{
"cell_type": "code",
"cell_type": "code",
"execution_count":
9
,
"execution_count":
8
,
"metadata": {
"metadata": {
"scrolled": true
"scrolled": true
},
},
...
@@ -167,7 +167,7 @@
...
@@ -167,7 +167,7 @@
"3.112"
"3.112"
]
]
},
},
"execution_count":
9
,
"execution_count":
8
,
"metadata": {},
"metadata": {},
"output_type": "execute_result"
"output_type": "execute_result"
}
}
...
@@ -182,6 +182,18 @@
...
@@ -182,6 +182,18 @@
"display_name": "Python 3",
"display_name": "Python 3",
"language": "python",
"language": "python",
"name": "python3"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.4"
}
}
},
},
"nbformat": 4,
"nbformat": 4,
...
...
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