Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
edwbaker committed Jul 10, 2024
2 parents 0ed38ff + 15bfcde commit cee77b5
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ <h2>Talks</h2>
<p class="view"><a href="/talks/2024-NatureTech">25/06/2024 - Nature Tech Expo</a></p>
<p class="view">24/04/2024 - How data in the cloud could help restore UK's biodiversity - AWS Summit 2024</p>
<p class="view"><a href="/talks/2024-Hull">03/2024 - Next generation monitoring at the Natural History Museum</a></p>
<p class="view"><a href="/talks/2023-11-NR">11/2023 - UK Nature Recovery theme Town Hall</a></p>
<p class="view"><a href="/talks/2023-11-GS">11/2023 - Garden Science workshop</a></p>
<p class="view"><a href="/talks/2023-IBAC">10/2023 - IBAC 2023</a></p>
<p class="view"><a href="/talks/2023-09-RSPB">09/2023 - RSPB/Kelvingrove Museum</a></p>
<p class="view"><a href="/talks/2023-05-BNA">05/2023 - British Naturalists' Association</a></p>
<p class="view"><a href="/talks">All talks</a></p>

<h2>Notes</h2>
Expand Down
2 changes: 1 addition & 1 deletion notes/acoustics-figures.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ library(tuneR)
par(mfrow=c(2,1))
waveSampled(sine(freq=1), 1000, 10)
waveSampled(sine(freq=1), 1000, 50)
```
```
4 changes: 4 additions & 0 deletions notes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
- [Linux audio recipes](/notes/linux-audio-recipes)
- [Acoustics figures](/notes/acoustics-figures)

## R

- [Invert a polynomial in R](/notes/r-invert-polynomial)

## Mathematical visualisations

- [Collatz Conjecture](/notes/collatz-conjecture)
23 changes: 23 additions & 0 deletions notes/r-invert-polynomial.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Inverting a polynomial using R

R code to numerically find the inverse of a polynomial.

```r
# Define a polynomial function to invert
pn <- function(x) {
return(3*x^3 + 2*x^2)
}

# Generic invert() function
invert = function(fn, interval = NULL, ...){
Vectorize(function(y){
uniroot(function(x){fn(x)-y}, interval, ...)$root
})
}

# Inversion function specific to pn()
pn.inverse <- invert(pn, interval = c(-10, 10))

# Find the inverse for a specific value
pn.inverse(4)
```
3 changes: 3 additions & 0 deletions talks/2023-11-NR.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# NHM Gardens Science Workshop

[Slides](/talks/2023-11-NR.pptx)
Binary file added talks/2023-11-NR.pptx
Binary file not shown.
2 changes: 2 additions & 0 deletions talks/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

## 2023

- [09/11/2023 - Sounds, sensors, specimsn](talks/2023-11-NR) - NHM UK Nature Recovery Theme Town Hall

- [09/11/2023 - Garden science: sounds, sensors and network](/talks/2023-11-GS) - NHM Internal workshop on Gardens Science

- [28/10/2023 - IBAC Sapporo, Japan](/talks/2023-IBAC) - Infrastructures for multi-scale bioacoustics analysis
Expand Down

0 comments on commit cee77b5

Please sign in to comment.