Whittaker's History (1910), reviewed › The review's files › sim/whittaker/partC/

w7_cell_thermo.py

In the investigation at sim/whittaker/partC/w7_cell_thermo.py · last changed in commit 28bc522, 22 November 2026 · 2,706 bytes


#!/usr/bin/env python3
"""W7.8: Joule's law, the energetics of the voltaic cell, and Thomson's 1855
correction (the Gibbs-Helmholtz relation), against modern thermochemistry.

Whittaker 1910, pp. 239-241: the e.m.f. of a Daniell cell from the heats of
formation ("50,000 calories ... 46,000 calories per gramme-molecule corresponds
to an e.m.f. of one volt; so the e.m.f. of a Daniell cell should be 50/46
volts, which is nearly the case"), then E = lambda + T dE/dT.

Terms: F the Faraday constant; n = 2 electrons per zinc atom; dH the enthalpy
(heat) of the cell reaction Zn + Cu(2+) -> Zn(2+) + Cu; dG its Gibbs energy,
which sets the e.m.f. E = -dG/(nF); T dE/dT = T dS/(nF) the heat drawn from
the surroundings (Thomson's term).

Inputs from memory (NIST/CRC standard values at 25 C, aqueous ions):
  dfH: Zn2+ -153.9, Cu2+ +64.8 kJ/mol;  dfG: Zn2+ -147.1, Cu2+ +65.5 kJ/mol.

Run: OMP_NUM_THREADS=1 ~/aspden-review-venv/bin/python3 w7_cell_thermo.py
"""
import subprocess
import numpy as np

print("git HEAD:", subprocess.run(["git", "rev-parse", "HEAD"], cwd="/home/doug/aetherscience.org",
                                  capture_output=True, text=True).stdout.strip())

F = 96485.33212
n = 2
cal = 4.184   # J per thermochemical calorie

print("\n1. Whittaker's arithmetic (p. 240 footnote)")
print(f"   2 F x 1 V = {2*F:.0f} J = {2*F/cal:.0f} cal  (Whittaker: 46,000 cal per volt for a divalent metal)")
print(f"   50,000 / 46,000 = {50000/46000:.3f} V; measured Daniell e.m.f. about 1.10 V [S, from memory]")

print("\n2. Modern thermochemistry (inputs from memory)")
dH = (-153.9) - (+64.8)      # kJ/mol, products minus reactants (Zn and Cu metals are zero)
dG = (-147.1) - (+65.5)
E_thermal = -dH * 1e3 / (n * F)
E = -dG * 1e3 / (n * F)
TdEdT = E - E_thermal
print(f"   dH = {dH:.1f} kJ/mol = {dH*1e3/cal:.0f} cal/mol  (Whittaker's 'about 50,000')")
print(f"   dG = {dG:.1f} kJ/mol")
print(f"   e.m.f. from heat alone, -dH/nF  = {E_thermal:.4f} V  (the Roget-Faraday-Joule rule)")
print(f"   e.m.f. from Gibbs energy, -dG/nF = {E:.4f} V  (Thomson's corrected rule; measured about 1.10 V)")
print(f"   Thomson's term T dE/dT = {TdEdT:+.4f} V, so dE/dT = {TdEdT/298.15*1e6:+.1f} uV/K")
print("   The sign means the Daniell cell gives slightly less than its reaction heat and")
print("   warms its surroundings a little; Whittaker's 'in general lambda is much larger than")
print("   T dE/dT' holds here (3 %).")

print("\n3. Joule's law (1841): heat per unit time = R i^2 = i x (potential difference) [S]")
print("   This is the definition of the volt-ampere today; no modern test is needed beyond")
print("   the consistency of F above with the electrical watt (Ohm's law and the Joule).")