Bragg's law is the fundamental relationship in X-ray
crystallography. It can be written as:
nλ = 2d sinθ
where n is an integer, λ is the wavelength of a beam of X-rays incident on a crystal
with lattice planes separated by a distance d, and θ is the Bragg angle.