Commit 4d226294 authored by Abi Pickard's avatar Abi Pickard

link

parent 5ebd1e6d
...@@ -11,14 +11,15 @@ knitr::opts_chunk$set(echo = TRUE) ...@@ -11,14 +11,15 @@ knitr::opts_chunk$set(echo = TRUE)
``` ```
## Asking the maths library ## Asking the maths library
My computer tells me that $\pi$ is approximatively My computer tells me that $\pi$ is *approximatively*
```{r cars} ```{r}
pi() pi
``` ```
It is also straightforward to include figures. For example: ## Buffon's needle
Applying the method of [Buffon’s needle](https://en.wikipedia.org/wiki/Buffon%27s_needle_problem), we get the **approximation**
```{r pressure, echo=FALSE} ```{r pressure, echo=FALSE}
plot(pressure) plot(pressure)
......
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