Braggs Equation For X Ray Diffraction