Measurement of Applied Stress by X-Ray Diffraction