Whittaker's History (1910), reviewed › The review's files › sim/whittaker/partC/
w6_electrolysis.py
#!/usr/bin/env python3
"""W6.7: Faraday's laws of electrolysis (1833-34) against the Faraday constant.
Whittaker 1910, p. 200 and its footnote: "In the modern units, 96580 coulombs
of electricity must pass round the circuit in order to liberate of each ion a
number of grams equal to the quotient of the atomic weight by the valency."
Every quantity here stands for a physical thing:
N_A atoms per mole [S] exact in the SI since 2019
e the charge of one electron [S] exact in the SI since 2019
F = N_A e, the charge that liberates one mole of a univalent ion [S]
M molar mass of the element [S, from memory: Ar 2023 tables]
z valency (charge number) [S]
Faraday's second law: the mass liberated per coulomb is M/(z F).
Run: OMP_NUM_THREADS=1 ~/aspden-review-venv/bin/python3 w6_electrolysis.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())
N_A = 6.02214076e23 # 1/mol, exact [S]
e = 1.602176634e-19 # C, exact [S]
F = N_A * e
print(f"Faraday constant F = N_A e = {F:.5f} C/mol [S, exact]")
F_whittaker = 96580.0 # C, Whittaker p. 200 footnote
print(f"Whittaker's 96580 C: deviation from F = {100*(F_whittaker-F)/F:+.3f} %")
# Electrochemical equivalents, g per coulomb = M/(z F) [S]
# Molar masses from memory (IUPAC 2021 conventional values); z = valency.
elements = [("hydrogen", 1.00794, 1), ("oxygen", 15.999, 2), ("silver", 107.8682, 1),
("copper", 63.546, 2), ("zinc", 65.38, 2)]
print("\nElectrochemical equivalents, mass liberated per coulomb (M/zF):")
for name, M, z in elements:
print(f" {name:9s} M={M:9.4f} g/mol z={z}: {M/(z*F)*1e3:.6f} mg/C")
# The international ampere (1908) was defined by silver: 1.118 mg/C [S, from memory].
ag_intl = 1.118e-3
ag_now = 107.8682 / F
print(f"\nSilver: 1908 definition 1.118 mg/C vs M/F = {ag_now*1e3:.5f} mg/C "
f"({100*(ag_intl-ag_now)/ag_now:+.3f} %; the international and absolute amperes differed by about this)")
# Faraday's first law: mass is proportional to charge passed, independent of
# electrode size and solution strength (Exp. Res. 713-821). A check that the
# relation is linear needs no number; the test here is the constant itself.
# Hydrogen from water, per coulomb, in cm^3 at 0 C and 1 atm (ideal gas) [D]:
R = 8.314462618; T0 = 273.15; p0 = 101325.0
V_mol = R * T0 / p0 # m^3 per mole, ideal gas
cm3_H2_per_C = (1.0 / (2 * F)) * V_mol * 1e6 # H2 is diatomic: 2 F per mole of H2
print(f"\nHydrogen gas evolved per coulomb at 0 C, 1 atm: {cm3_H2_per_C:.5f} cm^3 [D]")
print(" (Faraday's voltameter measured this volume; the modern value fixes the")
print(" charge per hydrogen atom at e, which is what Faraday's 'absolute quantity")
print(" of electricity associated with each atom' (Exp. Res. 852) became.)")