Relativistic momentum
p = √[K(K + 2mₑc²)] / c
de Broglie wavelength
λ = h / p
First-order Bragg condition
2d sin θ = λ · n = 1
Finite stack of N equally spaced planes
I(θ) = [sin(Nx) / (N sin x)]², x = 2πd sin θ / λ
Reference inputs: K = 54 eV (illustrative beam setting); d = 0.0960 nm (approximate silicon (440) plane spacing); mₑ = 9.1093837 × 10⁻³¹ kg; h and c are exact SI constants.
Simplifications: The crystal is a rigid, frozen lattice. This is a kinematic single-family plane model: it omits the crystal structure factor, surface potential, absorption, thermal motion, electron spin and multiple/dynamical scattering. The lattice spacing is visually enlarged in the exhibit. The fixed-lattice assumption isolates the beam's mass dependence; it does not model how all material chemistry would change in a fully self-consistent alternate universe.
The detector uses equal angular bins and an idealised intensity-weighted count sample. The measured peak therefore has finite-sample uncertainty. It is an educational counting experiment, not a calibrated instrument prediction.
Independent educational simulation; not affiliated with or endorsed by any university, laboratory or equipment manufacturer.