1. The problem statement, all variables and given/known data I am writing a lab report for an X-ray diffraction. I have been attempting to come up with an equation for the error using formulas some people from college gave me and also some I found on wikipedia but I am quite sure I am doing it wrong. The only variable is the angle where the maximum intensities are found. I am using Bragg's law to calculate the spacing between the atoms. 2. Relevant equations D = (N*wavelength)/(2*sin(x)) As there is no error in N, wavelength, or "2", we can let that equal A. D = A/sin(x) Some equations I was given: Z = aX dZ = adX Z = X^a dZ/z = |a|dx/x Z = SinX dZ = dX CosX 3. The attempt at a solution D = Z = A/sin(x) = A (sin(x))^-1 = A f(y)^-1 I have tried loads of ways of calculating this but I keep getting silly answers. Any help, ideas or links would be really appreciated.