Commit 76bff13b authored by David Elser's avatar David Elser

final!

parent 99c98cb5
...@@ -17,7 +17,7 @@ pi ...@@ -17,7 +17,7 @@ pi
``` ```
## Buffon's needle ## Buffon's needle
Applying the method of [Buffon's needle](https://en.wikipedia.org/wiki/Buffon%27s_needle_problem), we get the __approximation__) Applying the method of [Buffon's needle](https://en.wikipedia.org/wiki/Buffon%27s_needle_problem), we get the __approximation__
```{r} ```{r}
set.seed(42) set.seed(42)
......
...@@ -389,7 +389,7 @@ $(document).ready(function () { ...@@ -389,7 +389,7 @@ $(document).ready(function () {
</div> </div>
<div id="buffons-needle" class="section level2"> <div id="buffons-needle" class="section level2">
<h2>Buffon’s needle</h2> <h2>Buffon’s needle</h2>
<p>Applying the method of <a href="https://en.wikipedia.org/wiki/Buffon%27s_needle_problem">Buffon’s needle</a>, we get the <strong>approximation</strong>)</p> <p>Applying the method of <a href="https://en.wikipedia.org/wiki/Buffon%27s_needle_problem">Buffon’s needle</a>, we get the <strong>approximation</strong></p>
<pre class="r"><code>set.seed(42) <pre class="r"><code>set.seed(42)
N = 100000 N = 100000
x = runif(N) x = runif(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