The previous blog post described the normal modes of a chain swinging under its own weight. Here we describe the motion of a chain after an arbitrary displacement as a linear combination of such normal modes. The code for this project is on my github …
The description of the oscillations of a hanging chain was a problem in mechanics solved by Daniel Bernoulli in the 18th century and which led to the discovery of the class of functions known as Bessel functions. The code for this article is hosted on …
A recent tweet by Fermat's Library noted that the Fundamental theorem of arithmetic provides a novel (if inefficient) way of determining whether two words are anagrams of one another. The Fundamental theorem of arithmetic states that every integer greater than 1 is either a prime …
Cellular automata (CA) can be used to generate mazes, as described on the LifeWiki. A commonly used algorithm operates like John Conway's Game of Life in that a cell is born if it has exactly 3 neighbours but the survival rule is more liberal: a …
In astronomy, a fireball is a meteor bright enough to be seen over a wide area (either apparent magnitude greater than -4 or greater than -3 at zenith, depending on the definition used). The terms bolide and, for exceptionally bright meteors, superbolide are also used. …
The recurrence devised by Jean-Michel Muller[1] and described in a slightly modified form by William Kahan in a 2006 monograph[2] provides an interesting example of how the finite precision of floating point arithmetic can lead to wildly incorrect results in some circumstances. Consider the function …
A superellipse (also called a Lamé curve) is the curve described by the equation For , this is the equation of an ordinary ellipse and for that ellipse is a circle. The corresponding curve for is sometimes called a squircle. As , the curve approaches …
A cobweb plot is often used to visulaize the behaviour of an iterated function. That is, the sequence of values obtained from setting , starting at some value . The plot can reveal stable, cyclic, or chaotic behaviour as convergence to a point, a repeating …
This post is based on Problem 2.22 from Griffiths, Introduction to Quantum Mechanics (Prentice Hall, 1995). A free particle prepared in the initial state (where is a constant) evolves according to the Schrödinger equation as From , the probability distribution function can be shown to …
The Belousov-Zhabotinsky (BZ) reaction is a classical example of a non-equibrium chemical oscillator in which the components exhibit periodic changes in concentration. The model The BZ reaction mechanism is complex and still not fully understood, but its essential features can be captured in a simple …