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
af867c30e46f4b444ec768838323b91d
mooc-rr
Commits
b9245625
Commit
b9245625
authored
Jun 06, 2020
by
af867c30e46f4b444ec768838323b91d
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no commit message
parent
69d2333d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
7 deletions
+34
-7
toy_notebook_en.ipynb
module2/exo1/toy_notebook_en.ipynb
+34
-7
No files found.
module2/exo1/toy_notebook_en.ipynb
View file @
b9245625
...
...
@@ -2,7 +2,25 @@
"cells": [
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 15,
"metadata": {},
"outputs": [],
"source": [
"# On the computation of $\\pi$"
]
},
{
"cell_type": "code",
"execution_count": 17,
"metadata": {},
"outputs": [],
"source": [
"## Asking the maths library"
]
},
{
"cell_type": "code",
"execution_count": 18,
"metadata": {},
"outputs": [
{
...
...
@@ -15,12 +33,21 @@
],
"source": [
"from math import *\n",
"print(pi)\n"
"print(pi)"
]
},
{
"cell_type": "code",
"execution_count": 21,
"metadata": {},
"outputs": [],
"source": [
"## Buffon's needle"
]
},
{
"cell_type": "code",
"execution_count":
11
,
"execution_count":
22
,
"metadata": {},
"outputs": [
{
...
...
@@ -29,7 +56,7 @@
"3.128911138923655"
]
},
"execution_count":
11
,
"execution_count":
22
,
"metadata": {},
"output_type": "execute_result"
}
...
...
@@ -45,7 +72,7 @@
},
{
"cell_type": "code",
"execution_count":
12
,
"execution_count":
23
,
"metadata": {},
"outputs": [
{
...
...
@@ -78,7 +105,7 @@
},
{
"cell_type": "code",
"execution_count":
13
,
"execution_count":
24
,
"metadata": {},
"outputs": [
{
...
...
@@ -87,7 +114,7 @@
"3.112"
]
},
"execution_count":
13
,
"execution_count":
24
,
"metadata": {},
"output_type": "execute_result"
}
...
...
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