# Mean kinetic temperature of an equally spaced temperature record at a stated activation energy, version 2.0.0

form-mean-kinetic-temperature\@2.0.0: this version's equations with their symbols, each constant's value, their sources and whether each was read, a worked example where the record holds one, its level and what it was checked against, the number of cases, and what was not checked. This version's record is not rewritten; a correction is added under Changes.

## What this page can and cannot show

**Level: Checked against a reference; secondary source (Jenkins 2022); Haynes 1971 and USP ⟨1079⟩ unread; equal intervals only. Reference kind: our own exact-arithmetic script and a hand-worked case.**

Checked by this project, not independently reviewed. Every method on this page has its equations, constants, sources and cases on record, and its cases agree with the stated reference within the stated tolerance. A reader can follow each method's worked example by hand; that shows the stated method gives the stated answer for one set of inputs, and does not test the code. The other cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed them.

[Every version of this method](https://www.drybench.com/methods/m/form-mean-kinetic-temperature) · [Every method](https://www.drybench.com/methods/m) · [What the levels mean](https://www.drybench.com/methods/levels)

## Version 2.0.0

**Level: Checked against a reference; secondary source (Jenkins 2022); Haynes 1971 and USP ⟨1079⟩ unread; equal intervals only. Reference kind: our own exact-arithmetic script and a hand-worked case.** `form-mean-kinetic-temperature@2.0.0`

Built, not hosted. Generated from a snapshot of the library's records taken on 2026-11-25, as committed on 2026-11-25. A later snapshot replaces this one, so these records and this page can change.

**Verification statement:** Mean kinetic temperature T\_k = (E\_a/R)/(−ln((Σᵢ e^(−E\_a/(R·Tᵢ)))/n)) (Jenkins et al. 2022, Eq. 1, re-read 14 November 2026), E\_a the caller's and R = N\_A·k exact. Computed in double precision by log-sum-exp, or in reciprocal temperatures where E\_a/R is below the highest reading. Compared with exact arithmetic in a Python program and with a second implementation in Python by a separate agent of the same model family, in exact rationals and 80-digit mpmath (46 cases, 21 at the edges). No outside program or printed example is compared: Jenkins 2022 prints none that can be reproduced, and Haynes 1971 and USP ⟨1079⟩ are unread. A calculated value; it equals the isothermal temperature of the same degradation only if one Arrhenius process with that energy governs.

T\_k = (E\_a/R) / (−ln((Σᵢ e^(−E\_a/(R·Tᵢ)))/n)), the Tᵢ absolute temperatures of n readings at equal intervals (Jenkins et al. 2022, Eq. 1). E\_a is the caller's, never defaulted: 83.144 kJ/mol is a convention the caller may state, meant to give E\_a/R = 10 000 K with the rounded R = 0.0083144 kJ/(mol·K); with the exact R = N\_A·k used here it gives 9 999.92 K (1e-5 K or less in the result for a storage record, an estimate), and a caller who wants exactly 10 000 K states E\_a = 10 000·R. The mean of e^(−E\_a/(R·Tᵢ)) is formed by log-sum-exp, so very low temperatures do not underflow, or, where E\_a/R is below the highest reading, in reciprocal temperatures (expm1 and log1p), which tends to the harmonic mean as E\_a goes to 0. Readings in K or degC; a reading in degC is converted on its stated decimal, and −273.15 degC is 0 K and refused (OUT\_OF\_RANGE). The result in the unit asked. It equals the isothermal temperature giving the same degradation only if one Arrhenius process with that energy governs, and it makes no excursion judgement. Readings at unequal intervals are not weighted in this version.

- **How results are reported:** none: full double precision
- **Uncertainty:** Computed in double precision from the caller's record and energy, within absolute 1e-10 in the returned unit; the bound is absolute: near 0 K it exceeds the value itself. On every computed case of stored reference values, edge-just-above-zero-K and builder-mk5-sum-overflow among them, the second implementation agrees within relative 3.5e-16 of the absolute temperature. The conversion to degC is exact and rounded once. No uncertainty is propagated.
- **Reference, as its record states it:** Exact arithmetic: Python fractions and 60-digit decimal exp and ln on the recorded equations, written before the engine; a second implementation in Python by a separate agent of the same model family
- **Level confirmed by this project's ruling of** 14 November 2026

[What this page can and cannot show](#what-this-page-can-and-cannot-show)

### What was checked

46 cases in 1 file, linked by this exact version.

Run through the tool at build against our own exact-arithmetic script and a hand-worked case: 30 agree within the tolerance the file states, 16 refuse as the case expects, 0 differ, 0 were not run.

- **File 1, 46 cases**
  - **Where the expected values came from:** our own exact-arithmetic script and a hand-worked case
  - **Recorded on:** 2026-11-14
  - **Reference:** second implementation (Python 3.13), 2026-11-14; licence BSD-3-Clause
  - **Tolerance as the file states it:** Mean kinetic temperature absolute 1e-10 in its returned unit (K or degC: a relative rule would collapse near 0 degC, Drybench ruling, 10 November 2026, section 2.4); statuses, codes and units exact

Apart from the worked example, the cases and their values are not printed here. This shows agreement with this project's recorded cases. It does not show that a method suits your work, and it is not a qualification.

### What was not checked

Haynes (1971), the original paper, unread; readings at unequal intervals (the time-weighted form); any excursion or storage-condition judgement; a printed worked example of MKT.

### Definition or model

A closed form: the result follows from the inputs by the equations alone.

### Equations

```equation
T_k = (E_a/R) / (−ln((Σᵢ e^(−E_a/(R·Tᵢ)))/n))
```

| Symbol | Meaning and unit |
| --- | --- |
| T\_k | mean kinetic temperature; returned in K, or in degC as T\_k − 273.15 K formed from the exact rational and rounded once when outputUnit is degC, K |
| E\_a | activation energy (the caller's), in J/mol: 1 kJ/mol = 1000 J/mol, and cal/mol or kcal/mol through cal\_th, J/mol |
| R | molar gas constant, N\_A·k, J/(mol\*K) |
| Tᵢ | absolute temperature of reading i (a reading in degC plus 273.15 K), K |
| e^(−E\_a/(R·Tᵢ)) | the Boltzmann factor of reading i |
| n | number of readings |

Source: Jenkins D, Cancel A, Layloff T, Mean kinetic temperature evaluations through simulated temperature excursions for different storage conditions, BMC Public Health 22:300 (2022), equation 1, and the sentence after it (Tₙ the absolute temperature, K, for each of the time periods 1 through n), version of record, read as Europe PMC's JATS full-text XML (PMC8842539), not the publisher's copy; read in full on 2026-11-10 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning 80a7c77228bf. Free to read (CC BY 4.0), checked 2026-11-11. No erratum found (searched crossref), 2026-11-11.

### Constants

| Constant | Value and unit | Source | Date read |
| --- | --- | --- | --- |
| molar gas constant, N\_A·k, exact (R) | 8.31446261815324 J/(mol·K) | BIPM, The International System of Units (SI), 9th edition, 2019 (complete brochure, 2026 update), table 1: k = 1.380 649 × 10⁻²³ J/K and N\_A = 6.022 140 76 × 10²³ mol⁻¹, exact, section 2.2 | 2026-11-10 |
| thermochemical calorie (for cal/mol and kcal/mol) (cal\_th) | 4.184 J | NIST Special Publication 811, Guide for the Use of the International System of Units (SI), 2008 edition, section Appendix B.8: 1 cal\_th = 4.184 J exactly | 2026-11-10 |
| Celsius offset (°C) | 273.15 K | BIPM, The International System of Units (SI), 9th edition, 2019 (complete brochure, 2026 update), section 2.3.1: t/°C = T/K − 273.15 | 2026-11-10 |

### Worked example

Worked example: one case of form-mean-kinetic-temperature\@2.0.0, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.

**Inputs**

- temperatures\[0\] = 20 degC
- temperatures\[1\] = 30 degC
- activationEnergy = 83.144 kJ/mol
- outputUnit = degC

**Steps**

1. Ea/R = 9999.9247 K, from activationEnergy; by the equation above.
2. b1 = 1.5323524e-15, from temperatures\[0\], Ea/R; by the equation above.
3. b2 = 4.7211607e-15, from temperatures\[1\], Ea/R; by the equation above.
4. mean = 3.1267565e-15, from b1, b2; by the equation above.
5. Tk = 299.40988 K, from Ea/R, mean; by the equation above.
6. TkC = 26.259878 °C, from Tk; by the equation above; gives meanKineticTemperature.

The working, as the case writes it:

```equation
the hand calculation of form-mean-kinetic-temperature-1#two-readings, copied with its worked block (worked by hand by the raising builder, 14 November 2026)
```

**Answer**

- `meanKineticTemperature` = **26.259878 °C**

Where these values came from: our own exact-arithmetic script and a hand-worked case; the second implementation's run(arguments).

At build the tool returned this answer within the tolerance the file states: Mean kinetic temperature absolute 1e-10 in its returned unit (K or degC: a relative rule would collapse near 0 degC, Drybench ruling, 10 November 2026, section 2.4); statuses, codes and units exact.

Who worked this case: not recorded.

### What it refuses, and its input ranges

**Input ranges:** activationEnergy: above 0 J/mol; outside it, invalid input (NOT\_POSITIVE).

### Changes

#### 2026-11-14-form-mean-kinetic-temperature\@2.0.0-1

2026-11-14 · [`form-mean-kinetic-temperature@2.0.0`](https://www.drybench.com/methods/m/form-mean-kinetic-temperature) · Corrections to our methods

- **What was wrong:** With a very small activation energy the mean of the exponentials rounded to 1 and its logarithm to 0, so the tool served the highest reading: readings of 10 and 30 degC at an activation energy of 2.2e-308 J/mol gave 30 degC, where the limit is the harmonic mean of the absolute temperatures, 19.66 degC. A reading of 2.2e-308 K (above 0 K) made E\_a/(R·T) overflow and the tool failed with an internal error. The degC result was formed as the kelvin value less 273.15 in doubles, a second rounding.
- **Affected:** form\_mean\_kinetic\_temperature replies in version 1.0.0 at activation energies far below any real one (E\_a/R below the highest reading) or with a reading near 0 K; and every degC result, in its last bits.
- **What changed:** In 2.0.0, where E\_a/R is below the highest reading or E\_a/(R·T) is not a double, the same mean is formed in reciprocal temperatures with expm1 and log1p, and tends to the harmonic mean as E\_a goes to 0; every other input takes the earlier form unchanged. The degC result is converted from the exact rational and rounded once. Twelve degC cases of stored reference values move in their last bits (a major), so that file is retired and stored reference values replaces it.
- **How it was found:** A second implementation in Python by a separate agent of the same model family, in the raising run's full check of 14 November 2026 (findings SF-F16 and SF-F17), and the CTO's second-batch memo of 14 November 2026 (item 8).
- **Cases added:** stored reference values: 45 cases from the second implementation in exact rationals and 80-digit mpmath, among them edge-energy-tiny-positive and edge-just-above-zero-K, each run through the tool.

## Tools that use it

- [`form_mean_kinetic_temperature`](https://www.drybench.com/methods/tools/form-mean-kinetic-temperature)

## Cite this version

Mean kinetic temperature of an equally spaced temperature record at a stated activation energy. Drybench; form-mean-kinetic-temperature\@2.0.0; [https://www.drybench.com/methods/m/form-mean-kinetic-temperature/2.0.0](https://www.drybench.com/methods/m/form-mean-kinetic-temperature/2.0.0) (accessed \[date\]).
