Ladybirds vs Aphids At t=0 we have a ladybird on the edge of a leaf at point A(0,10) in cm, and an aphid at point B(0,10). The ladybird is in pursuit of the aphid. In each time interval of 1 second the ladybird travels 1cm by heading towards the aphid following the shortest straight-line path. ... Continue Reading →
Modelling tides: how does the moon affect the tide?
Modelling tides: What is the effect of a full moon? Let's have a look at the effect of the moon on the tides in Phuket. The Phuket tide table above shows the height of the tide (meters) on given days in March, with the hours along the top. So if we choose March 1st (full... Continue Reading →
Predicting the UK election using linear regression
Predicting the UK election using linear regression The above data is the latest opinion poll data from the Guardian. The UK will have (another) general election on June 8th. So can we use the current opinion poll data to predict the outcome? Longer term data trends Let's start by looking at the longer term trend... Continue Reading →