For students taking their exams in 2021 there is a big change to the IB syllabus – there will now be 4 possible strands: IB HL Analysis and Approaches, IB SL Analysis and Approaches, IB HL Applications and Interpretations, IB SL Applications and Interpretations. IB Applications and Interpretations There is a reasonable cross-over between the […]

For students taking their exams in 2021 there is a big change to the IB syllabus – there will now be 4 possible strands: IB HL Analysis and Approaches, IB SL Analysis and Approaches, IB HL Applications and Interpretations, IB SL Applications and Interpretations. IB Analysis and Approaches There is a significant cross-over between the […]

Simulating a Football Season This is a nice example of how statistics are used in modeling – similar techniques are used when gambling companies are creating odds or when computer game designers are making football manager games. We start with some statistics. The soccer stats site has the data we need from the 2018-19 season, […]

The Van Eck Sequence This is a nice sequence as discussed in the Numberphile video above. There are only 2 rules: If you have not seen the number in the sequence before, add a 0 to the sequence. If you have seen the number in the sequence before, count how long since you last […]

Computers can brute force a lot of simple mathematical problems, so I thought I’d try and write some code to solve some of them. In nearly all these cases there’s probably a more elegant way of coding the problem – but these all do the job! You can run all of these with a Python […]

Stacking cannonballs – solving maths with code Numberphile have recently done a video looking at the maths behind stacking cannonballs – so in this post I’ll look at the code needed to solve this problem. Triangular based pyramid. A triangular based pyramid would have: 1 ball on the top layer 1 + 3 balls on […]