Invntr
Source

All instruments

arrhenius_fit

Arrhenius and Eyring analysis of rate constants measured at several temperatures: activation energy and pre-exponential factor, activation enthalpy, entropy and free energy, each with its least-squares standard error; the rate, half-life and shelf life predicted at another temperature for a reaction of order 0, 1 or 2; Q10.

Unweighted straight lines of ln k and ln(k/T) against 1/T.

Field
Chemistry
Version
0.1.0
Runs as
Compiled (Rust)
Typical run
0.05 s

Compiled from source: run sh packs/install.sh once before admitting it.

Known answers it must pass

Admission replayarrhenius_fit 0.1.0 · files 21bd27d6d7d8…4080
  1. r0001closed form: exact k = A exp(-Ea/RT) with Ea = 50 kJ/mol, A = 10¹⁰ /s at 280-360 K gives both back, and k, t90 = ln(10/9)/k, t₁/2 = ln2/k, Q10 = exp(Ea/R · 10/(T(T+10))) at 298.15 K (10⁻⁹: round-off only)passed

    ea_kJ_per_mol50 ± 5 × 10⁻⁸50lockedunder 0.01 % of the tolerance used
    prefactor_per_s10¹⁰ ± 1010¹⁰lockedunder 0.01 % of the tolerance used
    ln_a23.0259 ± 2.3 × 10⁻⁸23.0259lockedunder 0.01 % of the tolerance used
    r21 ± 10⁻¹²1lockedunder 0.01 % of the tolerance used
    k_pred_per_s17.3932 ± 1.7 × 10⁻⁸17.3932lockedunder 0.01 % of the tolerance used
    shelf_life_s0.00605758 ± 6.1 × 10⁻¹²0.00605758lockedunder 0.01 % of the tolerance used
    half_life_s0.0398517 ± 4 × 10⁻¹¹0.0398517lockedunder 0.01 % of the tolerance used
    q101.92426 ± 1.9 × 10⁻⁹1.92426lockedunder 0.01 % of the tolerance used
    extrapolation_K= 0.00.0lockedexact match
    fit_ok= truetruelockedexact match
  2. r0002closed form, two points: Ea = R ln(k₂/k₁)/(1/T₁ - 1/T₂) for k doubling from 298 K to 308 K; Q10 at 298 K is exactly 2; no standard error with two points (10⁻⁹: round-off only)passed

    ea_kJ_per_mol52.8965 ± 5.3 × 10⁻⁸52.8965lockedunder 0.01 % of the tolerance used
    q102 ± 2 × 10⁻⁹2lockedunder 0.01 % of the tolerance used
    k_pred_per_s0.001 ± 10⁻¹²0.001lockedunder 0.01 % of the tolerance used
    ea_se_kJ_per_mol= lockedexact match
    degrees_of_freedom= 00lockedexact match
  3. r0003textbook value: a rate that doubles from 298 K to 308 K has Ea = 52.89 kJ/mol (quoted to 4 figures with R = 8.314; 0.01 kJ/mol covers that rounding)passed

    ea_kJ_per_mol52.89 ± 0.0152.8965locked65 % of the tolerance used
  4. r0004closed form: exact Eyring data k = (kB T/h) exp(dS/R) exp(-dH/RT) with dH = 80 kJ/mol, dS = -40 J/(mol K) gives both back, and dG(298.15 K) = dH - T dS = 91.926 kJ/mol (10⁻⁹: round-off only)passed

    dh_kJ_per_mol80 ± 8 × 10⁻⁸80lockedunder 0.01 % of the tolerance used
    ds_J_per_molK-40 ± 4 × 10⁻⁸-40lockedunder 0.01 % of the tolerance used
    dg_kJ_per_mol91.926 ± 9.2 × 10⁻⁸91.926lockedunder 0.01 % of the tolerance used
    eyring_r21 ± 10⁻¹²1lockedunder 0.01 % of the tolerance used
  5. r0005closed form: Eyring k = (kB T/h) exp(-dG/RT), so k = 1 /s at 298.15 K means dG = R T ln(kB T/h) = 73.02 kJ/mol (10⁻⁹: round-off only)passed

    dg_kJ_per_mol73.0241 ± 7.3 × 10⁻⁸73.0241lockedunder 0.01 % of the tolerance used
    k_pred_per_s1 ± 10⁻⁹1lockedunder 0.01 % of the tolerance used
  6. r0006closed form: the same with a transmission coefficient of 0.5: dG = R T ln(κ kB T/h) (10⁻⁹: round-off only)passed

    dg_kJ_per_mol71.3058 ± 7.1 × 10⁻⁸71.3058lockedunder 0.01 % of the tolerance used
  7. r0007closed form for least-squares errors: three points equally spaced in 1/T with residuals (+e, -2e, +e) orthogonal to the line: se(Ea) = R √(3) e/d, se(ln A) = √(6) e √(1/3 + xm²/(2 d²)), sd = √(6) e, se(ln k) at the mean = √(2) e (10⁻⁷: the residuals are 10⁻² on logarithms of order 1, so round-off is magnified)passed

    ea_kJ_per_mol49.8868 ± 5 × 10⁻⁶49.8868lockedunder 0.01 % of the tolerance used
    ea_se_kJ_per_mol0.720054 ± 7.2 × 10⁻⁸0.720054lockedunder 0.01 % of the tolerance used
    ln_a20 ± 2 × 10⁻⁶20lockedunder 0.01 % of the tolerance used
    ln_a_se0.277489 ± 2.8 × 10⁻⁸0.277489lockedunder 0.01 % of the tolerance used
    residual_sd_ln_k0.0244949 ± 2.4 × 10⁻⁹0.0244949lockedunder 0.01 % of the tolerance used
    k_pred_rel_se0.0141421 ± 1.4 × 10⁻⁹0.0141421lockedunder 0.01 % of the tolerance used
    r20.999792 ± 10⁻⁹0.999792lockedunder 0.01 % of the tolerance used
    max_abs_residual_ln_k0.02 ± 2 × 10⁻⁹0.02lockedunder 0.01 % of the tolerance used
  8. r0008closed form for the Eyring errors: the same construction on ln(k/T): se(dH) = R √(3) e/d, se(dS) = R √(6) e √(1/3 + xm²/(2 d²)), se(dG) at the mean = R T √(2) e (10⁻⁷, as above)passed

    dh_kJ_per_mol74.8302 ± 7.5 × 10⁻⁶74.8302lockedunder 0.01 % of the tolerance used
    dh_se_kJ_per_mol0.720054 ± 7.2 × 10⁻⁸0.720054lockedunder 0.01 % of the tolerance used
    ds_J_per_molK-47.8911 ± 4.8 × 10⁻⁶-47.8911lockedunder 0.01 % of the tolerance used
    ds_se_J_per_molK2.30717 ± 2.3 × 10⁻⁷2.30717lockedunder 0.01 % of the tolerance used
    dg_se_kJ_per_mol0.0367451 ± 3.7 × 10⁻⁹0.0367451lockedunder 0.01 % of the tolerance used
    dg_kJ_per_mol89.7961 ± 9 × 10⁻⁶89.7961lockedunder 0.01 % of the tolerance used
  9. r0009closed form, zero order: t90 = 0.1 C₀/k = 250000 s and t₁/2 = C₀/(2k) = 1.25 × 10⁶ s for k = 2 × 10⁻⁷ mol/(L s), C₀ = 0.5 mol/L (10⁻⁹)passed

    shelf_life_s250000 ± 0.00025250000lockedunder 0.01 % of the tolerance used
    half_life_s1.25 × 10⁶ ± 0.00131.25 × 10⁶lockedunder 0.01 % of the tolerance used
  10. r0010closed form, second order: t90 = (1/0.9 - 1)/(k C₀) and t₁/2 = 1/(k C₀) = 10⁷ s for k = 2 × 10⁻⁷ L/(mol s), C₀ = 0.5 mol/L (10⁻⁹)passed

    shelf_life_s1.11111 × 10⁶ ± 0.00111.11111 × 10⁶lockedunder 0.01 % of the tolerance used
    half_life_s10⁷ ± 0.0110⁷lockedunder 0.01 % of the tolerance used
  11. r0011closed form, first order with 80 % remaining: t80 = ln(1/0.8)/k and t₁/2 = ln 2/k for k = 2 × 10⁻⁷ /s, independent of C₀ (10⁻⁹)passed

    shelf_life_s1.11572 × 10⁶ ± 0.00111.11572 × 10⁶lockedunder 0.01 % of the tolerance used
    half_life_s3.46574 × 10⁶ ± 0.00353.46574 × 10⁶lockedunder 0.01 % of the tolerance used
11 of 11 cases passed · sandbox macos-seatbeltrecorded from the kernel in a fresh lab

Each line is one reading the kernel checked. The bright band is the tolerance; the needle is the value the instrument actually returned when it was admitted. A needle near the centre line used little of its tolerance.

Inputs

NameUnitDefaultMeaning
temperatures_KKAbsolute temperatures of the measurements, kelvin (add 273.15 to degrees Celsius). At least two different ones; three or more for standard errors.
rate_constants1/sOne rate constant per temperature, above zero. First order: 1/s. Zero order: mol/(L s); second order: L/(mol s) (pass those with 'unchecked' when chaining).
predict_temperature_KK298.15Temperature at which the rate, the shelf life, Q10 (to this temperature plus 10 K) and the free energy of activation are reported.
shelf_fraction_remaining10.9Shelf life is the time until this fraction of the starting amount remains (0.9 is t90).
reaction_order11Order of the rate law used for half-life and shelf life: 0, 1 or 2 (one reactant).
initial_conc_mol_per_Lmol/L1.0Starting concentration; it sets the times for orders 0 and 2 and does not matter for order 1.
transmission_coefficient11.0Kappa in the Eyring equation k = κ (kB T/h) exp(-dG/RT).
r2_min10.98The Arrhenius line is said to hold when R² of ln k against 1/T is at least this.

Readings

NameUnitMeaning
point_count1
degrees_of_freedom1points minus 2; standard errors are null when it is 0
lowest_temperature_KK
highest_temperature_KK
ea_kJ_per_molkJ/molArrhenius activation energy, -R times the slope of ln k against 1/T
ea_se_kJ_per_molkJ/molits standard error
ln_a1natural logarithm of the pre-exponential factor (in the unit of the rate constants)
ln_a_se1
log10_a1
prefactor_per_s1/spre-exponential factor A, in the unit of the rate constants (1/s for first order); null if it overflows
r21R² of ln k against 1/T
residual_sd_ln_k1standard deviation of the residuals in ln k; about the relative scatter of k
max_abs_residual_ln_k1
dh_kJ_per_molkJ/molEyring enthalpy of activation
dh_se_kJ_per_molkJ/mol
ds_J_per_molKJ/(mol K)Eyring entropy of activation (rate constants in 1/s; standard state 1 mol/L for second order)
ds_se_J_per_molKJ/(mol K)
dg_kJ_per_molkJ/molEyring free energy of activation at predict_temperature_K, dH - T dS
dg_se_kJ_per_molkJ/molits standard error, from the Eyring line at that temperature (dH and dS are strongly correlated, so it is far smaller than their errors combined)
eyring_r21R² of ln(k/T) against 1/T
predict_temperature_KK
k_pred_per_s1/srate constant on the Arrhenius line at predict_temperature_K, in the unit of the rate constants
k_pred_rel_se1standard error of ln k there: the relative error of k, and of the half-life and shelf life
half_life_ss
shelf_life_sstime until shelf_fraction_remaining is left, at predict_temperature_K
q101k(T + 10 K)/k(T) at T = predict_temperature_K, on the Arrhenius line
extrapolation_KKhow far predict_temperature_K lies outside the measured range (0 inside it)
fit_oktrue when R² is at least r2_min
warningswhat to know before trusting the numbers
pointsthe first 200 points against the line
filesout/arrhenius_plot.csv (both linear plots, every point), out/prediction_curve.csv (rate, half-life and shelf life over temperature)

Try the call

Change a value and the command updates. Nothing runs here; paste it into your terminal or give it to your agent.

Terminal
MCP call