A pin at radius on a wheel turned through is at . The yoke has a horizontal slot the pin slides along and can itself move only up and down, so it keeps the pin's height and discards its horizontal position:
Nothing in the linkage is approximate. The pin's radius is the amplitude of the sine, the gearing that turns the wheel is its frequency, and the angle the pin is set at is its phase: a harmonic is three numbers, and a crank has a part for each. Paper fed past the pen at a rate proportional to turns the motion into a graph.
Carry a second wheel on the first wheel's pin, geared to turn times as fast, and its pin is at the sum of two such vectors. A chain of wheels puts its last pin at
and the yoke writes , a sum of sines. With radii on the odd harmonics the sum approaches a square wave; with on all of them, a sawtooth; with and alternating signs, a triangle. A negative coefficient is a pin set half a turn round. The selector turns the whole chain through an angle , so the yoke reads : at a quarter turn, the other coordinate, .
In 1898 Michelson and Stratton built a harmonic analyser that summed eighty harmonics with springs on a lever. Its square waves have flat tops, steep sides, and beside every jump a spike the flat top does not have. Michelson wrote to Nature that year about what a Fourier series converges to beside a jump; Gibbs answered in the same journal, and in a correction the next spring gave the overshoot. Wilbraham had found it in 1848. The height of the spike tends to
of the half-jump, at five wheels or five hundred. More wheels narrow the spike and move it toward the jump, to after it for wheels, without lowering it: the series converges at every point and not uniformly. Measured on the machine at eighty wheels, the peak is 1.178993 at 1.125°. A sawtooth slopes beside its jump, so its peak is lower, but its excess over the ramp converges to the same 0.179: the constant belongs to the jump, not to the curve.
On the cosine channel the same wheels write the conjugate series. For a square wave it has a logarithmic spike at each jump,
which grows without bound: 2.72 at ten wheels, 3.60 at forty, 4.04 at eighty. The pen runs into its stops. A curve with a jump has a conjugate that is not a curve at all, and a machine that reads both coordinates of the same chain shows it at once.
The first machine of this kind was built to predict tides. The tide at a port is a sum of sinusoids whose speeds are fixed by the motions of the Moon and Sun and whose amplitudes and phases are fixed by the port. Kelvin's machine of 1872 summed ten of them with a wire over pulleys and wrote a year of tides in a few hours; tide tables were computed this way until the 1960s. Set the wheels to NOAA's ten largest constituents for San Francisco and the machine writes a great diurnal range of 1.758 m over a year; the gauge there, over nineteen years, measured 1.780 m. Adding NOAA's other twenty-seven constituents, or the 18.6-year nodal cycle, moves the machine by millimetres: the last 1.2% is not in the harmonic constants.
Two wheels at nearly the same speed beat. M2 and S2, the Moon's and the Sun's semidiurnal tides, come back into step every 14.7653 days, half a synodic month: springs and neaps. K1 and O1 beat at half the tropical month and M2 and N2 at the anomalistic month, perigee to perigee. The envelope of the tide is the length of the chain, which the pen never draws and the paper records anyway.
K1 and O1 turn together at exactly M2's speed, 15.041069 + 13.943035 = 28.984104 degrees an hour, so the phase combination
never drifts: it is a constant of the station, and it decides whether the difference between a day's two tides shows in the high waters or the low. Near 180° the diurnal wave peaks with a low water and the lows are unequal; near 0° with a high water. San Francisco's 225.6° puts most of it in the lows, 0.346 m against 0.186 m. The selector adds one phase to every constituent and so changes this constant, which a change of date cannot: sweep it and the inequality moves from the lows to the highs, and at 180° the tide is upside down.
The machine is kinematic: rigid, frictionless, exactly geared. Kelvin's gears approximated each speed ratio with whole numbers of teeth, and Michelson's springs stretched. The tide's phases carry no calendar, so its curves have San Francisco's shape but predict no particular day. Each of these is listed, with what would falsify it, in the assumptions panel.
Every number in the calibration is measured off what the machine writes, by sampling, Fourier analysis or tabulating highs and lows, and compared with a value from outside the model.