Monochromatic x-rays are used to determine the interplanar spacings of the unknown materials. Samples are analyzed as powders with grains in random orientations to insure that all crystallographic directions are "sampled" by the beam. When the Bragg conditions for constructive interference are obtained, a "reflection" is produced, and the relative peak height is generally proportional to the number of grains in a preferred orientation.