Order moves the Bragg path ledger below, onto, and above equality. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.
highlighted = computed this step
Low order misses the path equality
Plane spacing and wavelength stay fixed while order changes. The accepted bit comes only from the checked path comparison.
nλ=2⋅4=8m=2d2d=2⋅6=12m,accepted=0
Matching order closes the path equality
Plane spacing and wavelength stay fixed while order changes. The accepted bit comes only from the checked path comparison.
nλ=3⋅4=12m=2d2d=2⋅6=12m,accepted=1
High order overshoots the path equality
Plane spacing and wavelength stay fixed while order changes. The accepted bit comes only from the checked path comparison.