A blog of Python-related topics and code.

The two-dimensional wave equation

The wave equation is a second-order linear partial differential equation describing the behaviour of mechanical waves; its two (spatial) dimensional form can be used to describe waves on a surface of water:

Analysing flight punctuality data for UK airports: I. Basic statistics for 2022

The UK Civil Aviation Authority (CAA) publishes regular statistics on the punctuality of flights arriving at and departing UK airports. These data can be retrieved with the script available on the GitHub repository accompanying this blog article:

The equation of the circle through three points

The equation of the circle containing three (non-colinear) points can be found using the following procedure.

A circle problem

A recent tweet by @iwontoffendyou posed the following problem: with reference to the figure below, what is the radius of the orange circle, which is tangent to the $y$-axis, the unit circle and the curve $y = \sqrt{x}$?

The Square Roots of Integers Visualized as Sharks Teeth

The Spiral of Theodorus (also known as the Snail of Pythogoras), illustrated below, is a well-known visualization of the square roots of the integers as the length of the hypotenuses of a sequence of right triangles, placed edge-to-edge.