correction []

parent cabaa9fe
......@@ -39,7 +39,7 @@
}
],
"source": [
"In [1]: from math import *\n",
"from math import *\n",
"print(pi)"
]
},
......@@ -68,7 +68,7 @@
}
],
"source": [
"In [2]: import numpy as np\n",
"import numpy as np\n",
"np.random.seed(seed=42)\n",
"N = 10000\n",
"x = np.random.uniform(size=N, low=0, high=1)\n",
......@@ -105,7 +105,7 @@
}
],
"source": [
"In [3]: %matplotlib inline\n",
"%matplotlib inline\n",
"import matplotlib.pyplot as plt\n",
"np.random.seed(seed=42)\n",
"N = 1000\n",
......@@ -146,7 +146,7 @@
}
],
"source": [
"In [4]: 4*np.mean(accept)"
"4*np.mean(accept)"
]
},
{
......
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