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 = 1e10 /s at 280-360 K gives both back, and k, t90 = ln(10/9)/k, t1/2 = ln2/k, Q10 = exp(Ea/R * 10/(T(T+10))) at 298.15 K (1e-9: round-off only)passed

    ea_kJ_per_mol50 ± 5e-0850lockedunder 0.01 % of the tolerance used
    prefactor_per_s1e+10 ± 101e+10lockedunder 0.01 % of the tolerance used
    ln_a23.0259 ± 2.3e-0823.0259lockedunder 0.01 % of the tolerance used
    r21 ± 1e-121lockedunder 0.01 % of the tolerance used
    k_pred_per_s17.3932 ± 1.7e-0817.3932lockedunder 0.01 % of the tolerance used
    shelf_life_s0.00605758 ± 6.1e-120.00605758lockedunder 0.01 % of the tolerance used
    half_life_s0.0398517 ± 4e-110.0398517lockedunder 0.01 % of the tolerance used
    q101.92426 ± 1.9e-091.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(k2/k1)/(1/T1 - 1/T2) for k doubling from 298 K to 308 K; Q10 at 298 K is exactly 2; no standard error with two points (1e-9: round-off only)passed

    ea_kJ_per_mol52.8965 ± 5.3e-0852.8965lockedunder 0.01 % of the tolerance used
    q102 ± 2e-092lockedunder 0.01 % of the tolerance used
    k_pred_per_s0.001 ± 1e-120.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 (1e-9: round-off only)passed

    dh_kJ_per_mol80 ± 8e-0880lockedunder 0.01 % of the tolerance used
    ds_J_per_molK-40 ± 4e-08-40lockedunder 0.01 % of the tolerance used
    dg_kJ_per_mol91.926 ± 9.2e-0891.926lockedunder 0.01 % of the tolerance used
    eyring_r21 ± 1e-121lockedunder 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 (1e-9: round-off only)passed

    dg_kJ_per_mol73.0241 ± 7.3e-0873.0241lockedunder 0.01 % of the tolerance used
    k_pred_per_s1 ± 1e-091lockedunder 0.01 % of the tolerance used
  6. r0006closed form: the same with a transmission coefficient of 0.5: dG = R T ln(kappa kB T/h) (1e-9: round-off only)passed

    dg_kJ_per_mol71.3058 ± 7.1e-0871.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 sqrt(3) e/d, se(ln A) = sqrt(6) e sqrt(1/3 + xm^2/(2 d^2)), sd = sqrt(6) e, se(ln k) at the mean = sqrt(2) e (1e-7: the residuals are 1e-2 on logarithms of order 1, so round-off is magnified)passed

    ea_kJ_per_mol49.8868 ± 5e-0649.8868lockedunder 0.01 % of the tolerance used
    ea_se_kJ_per_mol0.720054 ± 7.2e-080.720054lockedunder 0.01 % of the tolerance used
    ln_a20 ± 2e-0620lockedunder 0.01 % of the tolerance used
    ln_a_se0.277489 ± 2.8e-080.277489lockedunder 0.01 % of the tolerance used
    residual_sd_ln_k0.0244949 ± 2.4e-090.0244949lockedunder 0.01 % of the tolerance used
    k_pred_rel_se0.0141421 ± 1.4e-090.0141421lockedunder 0.01 % of the tolerance used
    r20.999792 ± 1e-090.999792lockedunder 0.01 % of the tolerance used
    max_abs_residual_ln_k0.02 ± 2e-090.02lockedunder 0.01 % of the tolerance used
  8. r0008closed form for the Eyring errors: the same construction on ln(k/T): se(dH) = R sqrt(3) e/d, se(dS) = R sqrt(6) e sqrt(1/3 + xm^2/(2 d^2)), se(dG) at the mean = R T sqrt(2) e (1e-7, as above)passed

    dh_kJ_per_mol74.8302 ± 7.5e-0674.8302lockedunder 0.01 % of the tolerance used
    dh_se_kJ_per_mol0.720054 ± 7.2e-080.720054lockedunder 0.01 % of the tolerance used
    ds_J_per_molK-47.8911 ± 4.8e-06-47.8911lockedunder 0.01 % of the tolerance used
    ds_se_J_per_molK2.30717 ± 2.3e-072.30717lockedunder 0.01 % of the tolerance used
    dg_se_kJ_per_mol0.0367451 ± 3.7e-090.0367451lockedunder 0.01 % of the tolerance used
    dg_kJ_per_mol89.7961 ± 9e-0689.7961lockedunder 0.01 % of the tolerance used
  9. r0009closed form, zero order: t90 = 0.1 C0/k = 250000 s and t1/2 = C0/(2k) = 1.25e6 s for k = 2e-7 mol/(L s), C0 = 0.5 mol/L (1e-9)passed

    shelf_life_s250000 ± 0.00025250000lockedunder 0.01 % of the tolerance used
    half_life_s1.25e+06 ± 0.00131.25e+06lockedunder 0.01 % of the tolerance used
  10. r0010closed form, second order: t90 = (1/0.9 - 1)/(k C0) and t1/2 = 1/(k C0) = 1e7 s for k = 2e-7 L/(mol s), C0 = 0.5 mol/L (1e-9)passed

    shelf_life_s1.11111e+06 ± 0.00111.11111e+06lockedunder 0.01 % of the tolerance used
    half_life_s1e+07 ± 0.011e+07lockedunder 0.01 % of the tolerance used
  11. r0011closed form, first order with 80 % remaining: t80 = ln(1/0.8)/k and t1/2 = ln 2/k for k = 2e-7 /s, independent of C0 (1e-9)passed

    shelf_life_s1.11572e+06 ± 0.00111.11572e+06lockedunder 0.01 % of the tolerance used
    half_life_s3.46574e+06 ± 0.00353.46574e+06lockedunder 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 = kappa (kB T/h) exp(-dG/RT).
r2_min10.98The Arrhenius line is said to hold when R2 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
r21R2 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_r21R2 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 R2 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