My inorganic lab had us do an XRD measurement, but I've never been explained how to interpret the data.
Question:
Calculate the unit cell dimensions $a$, $b$, and $c$, for $\ce{YBa2Cu3O7}$ from the indexed X-ray powder pattern provided in [the textbook]. Explain why the crystals are nearly tetragonal in terms of the atomic structure of the compound. The following formula is useful:
$$\sin^2{\theta} = \frac{\lambda^2}{4}\left(\frac{h^2}{a^2}+\frac{k^2}{b^2}+\frac{l^2}{c^2}\right)$$ The three numbers, $hkl$, called Miller indices, indicate the direction of the scattering plane. The Miller indices can be read from the diffractogram provided. For simple reflections of the type $h00$, $0k0$, and $00l$, the value of $h$, $k$, or $l$ corresponds to n in Bragg's law.
Bragg's law:
$$n\lambda = 2d\sin{\theta}$$
The spectrum:
(This is a scan from my textbook, while working on it I circled some items. Just ignore that.)
My Attempt:
$$\lambda = 0.154~\mathrm{nm}$$
Scouring the internet I found the formula for tetragonal atomic structure: the axes $a = b \neq c$, and the axis angles $\alpha = \beta = \gamma = 90^\circ$.
Solving for $c$: $$\begin{align} \sin^2{(22.9^\circ)} &= \frac{\lambda^2}{4} \left(\frac{h^2}{a^2}+\frac{k^2}{b^2}+\frac{l^2}{c^2}\right) \\ &=\frac{0.154^2}{4} \left(\frac{0^2}{a^2}+\frac{0^2}{b^2}+\frac{3^2}{c^2}\right) \\ 0.151 &= 0.0237\left(\frac{3^2}{c^2}\right) \\ c &= 1.188 \end{align}$$
For $a$ and $b$:
$$\begin{align} \sin^2{(22.9^\circ)} &= \frac{\lambda^2}{4} \left(\frac{h^2}{a^2} + \frac{k^2}{b^2} + \frac{l^2}{c^2}\right) \\ &= \frac{0.154^2}{4} \left(\frac{1^2}{a^2} + \frac{0^2}{b^2} + \frac{0^2}{c^2} \right) \\ 0.151 &= 0.0237 \left(\frac{1^2}{a^2}\right) \\ a &= 0.156 \end{align}$$
Is this the right approach? If I have the right answer, what should the units be?