Whittaker's History (1910), reviewed › The review's files › sim/whittaker/partC/
w7_telegraph_kirchhoff.py
#!/usr/bin/env python3
"""W7.14 to W7.16: Thomson's Leyden-jar oscillation (1853), the telegraph
equation (Thomson 1854-55), and Kirchhoff's wire (1857) with the signal
speed equal to c.
Whittaker 1910:
p. 253: L d^2Q/dt^2 + R dQ/dt + Q/C = 0; oscillatory when R^2 C < 4 L, period
2 pi / sqrt(1/LC - R^2/4L^2).
pp. 255-257: the equation of telegraphy, the cable (L neglected) as
Fourier's heat equation, the aerial wire with velocity (CL)^(-1/2).
pp. 257-259: Kirchhoff's wire: V = 2 e log(l/a), w = 2 i log(l/a), the wave
speed c, "41950 Meilen" per second (read at source, Ann. Phys. 100,
p. 210 and Phil. Mag. 13, p. 406).
Terms: L, R, C inductance, resistance, capacitance of the discharge circuit;
Q the charge on the jar; L', R', C' the same per unit length of line; V the
potential; i the current; e the charge per unit length; a the wire radius;
l its length; eps_0, mu_0 the vacuum constants.
Run: OMP_NUM_THREADS=1 ~/aspden-review-venv/bin/python3 w7_telegraph_kirchhoff.py
"""
import subprocess
import numpy as np
from scipy.integrate import solve_ivp
print("git HEAD:", subprocess.run(["git", "rev-parse", "HEAD"], cwd="/home/doug/aetherscience.org",
capture_output=True, text=True).stdout.strip())
c = 299792458.0
eps0 = 8.8541878188e-12
mu0 = 1.25663706127e-6
# ---------- 1. Thomson's oscillatory discharge ----------
print("\n1. Thomson 1853: discharge of a jar through a coil [D]")
L, R, C = 1e-3, 2.0, 1e-7 # H, ohm, F (a laboratory-scale example)
T_thomson = 2 * np.pi / np.sqrt(1 / (L * C) - R**2 / (4 * L**2))
sol = solve_ivp(lambda t, y: [y[1], -(R * y[1] + y[0] / C) / L], [0, 10 * T_thomson], [1e-6, 0.0],
rtol=1e-10, atol=1e-18, dense_output=True)
t = np.linspace(0, 10 * T_thomson, 200001)
Q = sol.sol(t)[0]
zc = t[np.where(np.diff(np.sign(Q)) != 0)[0]]
T_num = 2 * np.mean(np.diff(zc))
print(f" L = {L} H, R = {R} ohm, C = {C} F: R^2 C = {R**2*C:.1e} < 4L = {4*L:.1e}: oscillatory")
print(f" Thomson's period {T_thomson*1e6:.4f} us; numerical zero-crossing period {T_num*1e6:.4f} us")
print(f" (compare the undamped 2 pi sqrt(LC) = {2*np.pi*np.sqrt(L*C)*1e6:.4f} us)")
# ---------- 2. Thomson's cable: diffusion, retardation ~ l^2 ----------
print("\n2. Thomson's submarine cable (L neglected): V_t = (1/RC) V_xx, Fourier's equation [S]")
# Inputs for an 1858-type gutta-percha cable, from memory and marked [M]:
Rp = 3.0e-3 # ohm/m (about 3 ohm/km copper core)
Cp = 3.0e-10 # F/m (about 0.3 microfarad/km)
for l_km in (100, 1000, 3700):
l = l_km * 1e3
tau = Rp * Cp * l**2
print(f" length {l_km:5d} km: R'C' l^2 = {tau:8.3f} s (the received current reaches a fixed fraction")
print(f" of its final value after a fixed multiple of this; Thomson's 'law of squares')")
print(" No single 'velocity of electricity' exists on such a line: the phase of a harmonic")
print(" signal travels at sqrt(2 w/(R'C')), faster for higher frequency (Whittaker p. 256).")
for f_hz in (1.0, 10.0, 100.0):
w = 2 * np.pi * f_hz
print(f" f = {f_hz:5.1f} Hz: phase speed sqrt(2w/R'C') = {np.sqrt(2*w/(Rp*Cp)):.3e} m/s")
# ---------- 3. Kirchhoff's aerial wire: speed c ----------
print("\n3. Kirchhoff 1857: a thin wire of radius a and length l far from other conductors [D]")
for l, a in [(1e3, 1e-3), (1e4, 1e-3), (1e2, 1e-4)]:
lg = np.log(l / a)
Cp_k = 2 * np.pi * eps0 / lg # F/m, Kirchhoff's V = 2 e log(l/a) in SI form
Lp_k = mu0 / (2 * np.pi) * lg # H/m, Kirchhoff's w = 2 i log(l/a) in SI form
v = 1 / np.sqrt(Lp_k * Cp_k)
print(f" l = {l:.0e} m, a = {a:.0e} m: C' = {Cp_k*1e12:.3f} pF/m, L' = {Lp_k*1e6:.3f} uH/m, "
f"1/sqrt(L'C') = {v:.6e} m/s = c x {v/c:.9f}")
print(" The logarithm cancels: L'C' = mu_0 eps_0 exactly, so the speed is c whatever l and a.")
print(" In Kirchhoff's units the speed came out as c_W/sqrt2 = 41950 Meilen/s, 'sehr nahe gleich")
print(" der Geschwindigkeit des Lichtes im leeren Raume' (Ann. Phys. 100, p. 210, read at source).")
# ---------- 4. The 'velocity of electricity' measurements ----------
print("\n4. Early measurements quoted by Whittaker (p. 254):")
for who, frac in [("Wheatstone 1834, copper, revolving mirror", 1.5),
("Fizeau and Gounelle 1850, iron wire", 1/3), ("Fizeau and Gounelle 1850, copper wire", 2/3)]:
print(f" {who}: {frac:.2f} c = {frac*c:.2e} m/s")
print(" All three are artefacts of lines with capacity and resistance (part 2), not of a")
print(" different speed of 'electricity'. On a lossless line the signal front moves at c [S].")