Analyse-syndrome

parent 3fe71439
This diff is collapsed.
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 1, "execution_count": 5,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
"source": [ "source": [
"# À propos du calcul de \\pi\n", "# À propos du calcul de \\pi\n",
"## En demandant à la lib maths\n", "## En demandant à la lib maths\n",
"Mon ordinateur m’indique que \\pi vaut approximativement\n", "#Mon ordinateur m’indique que \\pi vaut approximativement\n",
"\n", "\n",
"from math import *\n", "from math import *\n",
"print(pi)\n" "print(pi)\n"
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": 6,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -33,14 +33,14 @@ ...@@ -33,14 +33,14 @@
"3.128911138923655" "3.128911138923655"
] ]
}, },
"execution_count": 2, "execution_count": 6,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
], ],
"source": [ "source": [
"## En utilisant la méthode des aiguilles de Buffon\n", "## En utilisant la méthode des aiguilles de Buffon\n",
"Mais calculé avec la méthode des aiguilles de Buffon, on obtiendrait comme *approximation* :\n", "#Mais calculé avec la méthode des aiguilles de Buffon, on obtiendrait comme *approximation* :\n",
"\n", "\n",
"import numpy as np\n", "import numpy as np\n",
"np.random.seed(seed=42)\n", "np.random.seed(seed=42)\n",
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": 7,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
"3.112" "3.112"
] ]
}, },
"execution_count": 3, "execution_count": 7,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
}, },
...@@ -79,9 +79,9 @@ ...@@ -79,9 +79,9 @@
} }
], ],
"source": [ "source": [
" Avec un argument \"fréquentiel\" de surface\n", " #Avec un argument \"fréquentiel\" de surface\n",
"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 \n", "#sinus se base sur le fait que si \n",
"\n", "\n",
"%matplotlib inline\n", "%matplotlib inline\n",
"import matplotlib.pyplot as plt\n", "import matplotlib.pyplot as plt\n",
...@@ -103,6 +103,13 @@ ...@@ -103,6 +103,13 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [] "source": []
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
} }
], ],
"metadata": { "metadata": {
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment