A photon matches only when h times frequency equals the gap. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.

highlighted = computed this step

A photon carries h times frequency

The training constant is 1 joule per hertz and the frequency is 5 hertz.

E=hf=15=5 JE=hf=1\cdot 5=5\ \mathrm{J}
Photon energyThis uses a training constant, not a real Planck value.gap=5 Jh=1 J/Hzf=5 HzE_photon=5 Jmatched=1lowerupper5

The photon fires only when the equality closes

The transition gap is 5 joules and the matched bit is 1.

Ephoton=5 J=ΔE,matched=1E_{photon}=5\ \mathrm{J}=\Delta E,\quad matched=1
Matched photonThe diagram and equation cite the same transition gap.gap=5 Jh=1 J/Hzf=5 HzE_photon=5 Jmatched=1lowerupper5