A wave of wavelength λ is incident at angle θ upon an array of crystal atomic planes, lying in a characteristic orientation, separated by a characteristic distance d. Two rays of the beam are reflected from planes separated by distance nd, where n denotes the number of planes of the separation, and is called the order of diffraction. If θ is such that