no commit message

parent b65d1961
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
"source": [ "source": [
"import numpy as np\n", "import numpy as np\n",
"np.random.seed(seed=42)\n", "np.random.seed(seed=42)\n",
"N=10000\n", "N = 10000\n",
"x = np.random.uniform(size=N, low=0, high=1)\n", "x = np.random.uniform(size=N, low=0, high=1)\n",
"theta = np.random.uniform(size=N,low=0,high=pi/2)\n", "theta = np.random.uniform(size=N,low=0,high=pi/2)\n",
"2/(sum((x+np.sin(theta))>1)/N)" "2/(sum((x+np.sin(theta))>1)/N)"
......
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