premier jet

parent 90b54e19
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 7, "execution_count": 1,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 8, "execution_count": 2,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
"3.128911138923655" "3.128911138923655"
] ]
}, },
"execution_count": 8, "execution_count": 2,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 9, "execution_count": 3,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
...@@ -119,6 +119,26 @@ ...@@ -119,6 +119,26 @@
"Il est alors aisé d’obtenir une approximation (pas terrible) de π en comptant combien de fois,\n", "Il est alors aisé d’obtenir une approximation (pas terrible) de π en comptant combien de fois,\n",
"en moyenne, X<sup>2</sup> + Y<sup>2</sup> est inférieur à 1 :" "en moyenne, X<sup>2</sup> + Y<sup>2</sup> est inférieur à 1 :"
] ]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"3.112"
]
},
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"4*np.mean(accept)"
]
} }
], ],
"metadata": { "metadata": {
......
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