Skip to main content

Module chemistry

Module chemistry 

Source

Constants§

FARADAY
Faraday constant (C/mol)

Functions§

arrhenius_rate
Arrhenius equation: k = A × exp(-Ea / (RT))
cell_potential
Cell potential: E_cell = E_cathode - E_anode
concentration_first_order
First-order concentration decay: [A] = [A]₀ × e^(-kt)
concentration_second_order
Second-order integrated rate law: 1/[A] = 1/[A]₀ + kt, returns [A]
dilution
Dilution: C2 = C1 × V1 / V2
equilibrium_constant_from_gibbs
Equilibrium constant from Gibbs energy: K = exp(-ΔG / (RT))
faraday_electrolysis
Faraday’s law of electrolysis: m = (I × t × M) / (n × F)
gibbs_free_energy
Gibbs free energy: ΔG = ΔH - TΔS
h_from_ph
[H⁺] = 10^(-pH)
half_life_first_order
First-order half-life: t½ = ln(2) / k
hess_law
Hess’s law: ΔH_rxn = Σ(ci × ΔHi)
molarity
Molarity: M = n / V
nernst_potential
Nernst equation: E = E° - (RT / (nF)) × ln(Q)
osmotic_pressure
Osmotic pressure: Π = iMRT
ph
pH = -log₁₀([H⁺])
poh
pOH = -log₁₀([OH⁻])
reaction_rate
General rate law: r = k × Π([Ci]^ni)
vant_hoff
Van’t Hoff equation: ln(K2/K1) = -ΔH/R × (1/T2 - 1/T1), returns K2