Generator

A harmonic well

One function in the mechanics library, called 18 times across 6 essays. Below: what it draws at its defaults, what it draws at every branch an essay asks for, whether the site's own gate puts a claim to it, and everywhere it is called.

At its defaults it draws a harmonic well. Potential energy against position, with a horizontal line at the total energy. The motion is confined to where the line lies above the curve, and the turning points are the intersections — computed by solving for them, not marked by hand.

energy-landscape is one function in lib/figures/mechanics.js — motion, force, energy and rotation. Everything below came out of it during this build, at parameters taken from the essays rather than invented for this page. A figure here is the figure a reader meets in an essay, and if the generator changes, this page changes with it.

At its defaults

Drawn even though every essay passes options, because a default nothing exercises is a trap for the next essay to call this with none — which has happened here twice.

A harmonic well. Potential energy against position, with a horizontal line at the total energy. The motion is confined to where the line lies above the curve, and the turning points are the intersections — computed by solving for them, not marked by hand.

Potential energy against position, with a horizontal line at the total energy. The motion is confined to where the line lies above the curve, and the turning points are the intersections — computed by solving for them, not marked by hand.

Energy trading places through one stretch

The options are the ones Collisions are easier than forces, and momentum is the reason passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

Energy trading places through one stretch. Kinetic and potential energy at successive moments of an oscillating spring. Each column has the same total height: whatever one loses the other gains.

Kinetic and potential energy at successive moments of an oscillating spring. Each column has the same total height: whatever one loses the other gains.

A harmonic well

The options are the ones Every minimum is a parabola passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

A harmonic well. Potential energy against position, with a horizontal line at the total energy. The motion is confined to where the line lies above the curve, and the turning points are the intersections — computed by solving for them, not marked by hand.

Potential energy against position, with a horizontal line at the total energy. The motion is confined to where the line lies above the curve, and the turning points are the intersections — computed by solving for them, not marked by hand.

A barrier between two wells

The options are the ones Every minimum is a parabola passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

A barrier between two wells. Potential energy against position, with a horizontal line at the total energy. The motion is confined to where the line lies above the curve, and the turning points are the intersections — computed by solving for them, not marked by hand.

Potential energy against position, with a horizontal line at the total energy. The motion is confined to where the line lies above the curve, and the turning points are the intersections — computed by solving for them, not marked by hand.

A barrier between two wells

The options are the ones The fluid that answers back passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

A barrier between two wells. Potential energy against position, with a horizontal line at the total energy. The motion is confined to where the line lies above the curve, and the turning points are the intersections — computed by solving for them, not marked by hand.

Potential energy against position, with a horizontal line at the total energy. The motion is confined to where the line lies above the curve, and the turning points are the intersections — computed by solving for them, not marked by hand.

A harmonic well

The options are the ones The hill that gives it back, and the forces that do not passes. A branch drawn at its own defaults instead would be a picture no essay asked for and no assertion has been run against.

A harmonic well. Potential energy against position, with a horizontal line at the total energy. The motion is confined to where the line lies above the curve, and the turning points are the intersections — computed by solving for them, not marked by hand.

Potential energy against position, with a horizontal line at the total energy. The motion is confined to where the line lies above the curve, and the turning points are the intersections — computed by solving for them, not marked by hand.

What checks it

physicscheck draws energy-landscape and asserts nothing about its physics — it is exercised by the branch table rather than interrogated.

Across the library: 100 interrogated, 2 exercised only, 1 untouched, of 103. Read out of the gate's source by the gate's own two patterns — and the gate's last claim fails the build if that read disagrees with what it was handed while running.

Where it is called

Changing this generator changes every figure on this list. That is what makes the list worth publishing rather than keeping in a check script.

Mechanics

Collisions are easier than forces, and momentum is the reason

Nobody knows what happens inside a collision. Momentum conservation makes that ignorance irrelevant, which is the whole trick — and energy, deliberately, is not conserved.

Mechanics

Every minimum is a parabola

A pendulum, a bond between two atoms and a ship rolling in a swell obey the same equation, and the reason is not that they are alike. It is that a function with a minimum has no linear term there, so the first thing every potential well looks like is the same well.

Fluids

The fluid that answers back

For water, stress is proportional to how fast it is sheared, and the constant of proportionality is its viscosity. For paint, blood, ketchup and cornflour in water, it is not — and once the proportionality goes, so does the idea that viscosity is a number a substance has.

Mechanics

The hill that gives it back, and the forces that do not

Potential energy turns a question about motion into a picture of a landscape. It works for gravity and springs, it fails for friction, and the difference between those two cases is the whole of what makes energy useful.

Mechanics

The wall that moves while the ball is in flight

Energy is conserved because the rules do not depend on the time. Move the walls of a box and the rules do depend on the time, so what is inside gains or loses without limit — and how much depends entirely on how fast. Moved slowly, a wall takes energy at exactly the rate the adiabatic law says; moved faster than the ball travels, it takes none at all, and the same box is a piston or a vacuum according to a speed.

Thermodynamics

What a system actually minimises

A ball falls to the bottom of a bowl and a gas fills a room, and neither of those is the rule. A system in contact with a large reservoir minimises U − TS, and the minus sign is the reservoir's own entropy written in the system's variables — which is why a rubber band pulls harder when it is heated.

The whole library · All essays