turned in lab 5

This commit is contained in:
caes 2017-04-18 05:45:23 -04:00
parent c2c273ee05
commit 8032f04596
8 changed files with 325 additions and 117 deletions

View File

@ -1,30 +1,37 @@
plot(x=x,y=plastic_count[,1],pch='-',ylab=expression(count),xlab=expression(2~theta ~ degree))
x = seq(from = 5.00547782,to = 119.99571965,length.out = 13763)
grease_count = read.table("grease.tab")
plastic_count = read.table("plastic.tab")
wood_count = read.table("wood.tab")
plot(x=x,y=plastic_count[,1],pch='-',log="x",ylab=expression(count),xlab=expression(2~theta~degree~")"),xlim=c(12,55))
abline(v=42.5)
axis(3,at=42.5)
abline(v=14)
axis(3,at=14)
abline(v=30.5)
axis(3,at=30.5)
dev.print(pdf,"../report/plastic_peaks.pdf",width=8,height=2)
abline(v=14)
axis(3,at=14)
dev.print(pdf,"../report/plastic_peaks.pdf",width=3,height=3)
plot(x=x,y=grease_count[,1],pch='-',ylab=expression(count),xlab=expression(2~theta ~ degree))
plot(x=x,y=grease_count[,1],pch='-',log="x",ylab=expression(count),xlab=expression(2~theta~degree~")"))
abline(v=12)
axis(3,at=12)
abline(v=22)
axis(3,at=22)
dev.print(pdf,"../report/grease_peaks.pdf",width=8,height=2)
dev.print(pdf,"../report/grease_peaks.pdf",width=3,height=3)
plot(x=x,y=wood_count[,1],pch='-',ylab=expression(count),xlab=expression(2~theta ~ degree))
abline(v=22.5)
axis(3,at=22.5)
plot(x=x,y=wood_count[,1],pch='-',log="x",ylab=expression(count),xlab=expression(2~theta~degree~")"),xlim=c(15,55))
abline(v=16)
axis(3,at=16)
abline(v=22.5)
axis(3,at=22.5)
abline(v=34.5)
axis(3,at=34.5)
abline(v=46)
axis(3,at=46)
dev.print(pdf,"../report/wood_peaks.pdf",width=8,height=2)
dev.print(pdf,"../report/wood_peaks.pdf",width=3,height=3)

BIN
xrd/report/.RData Normal file

Binary file not shown.

179
xrd/report/.Rhistory Normal file
View File

@ -0,0 +1,179 @@
lambda=1.541e-10
lambda
theta=[14,30.5,42.5,12,20,16,22.5,34.5,46]
theta=(14,30.5,42.5,12,20,16,22.5,34.5,46)
theta=c(14,30.5,42.5,12,20,16,22.5,34.5,46)
theta
d = lambda / sin(theta) / 2
d
dmin = lambda / sin(theta-0.5) / 2
dmax = lambda / sin(theta+0.5) / 2
derr = (dmax - dmin)/2
derr
dmin
dmax
theta
theta=theta/2
theta
d = lambda / sin(theta) / 2
dmin = lambda / sin(theta-0.5) / 2
dmax = lambda / sin(theta+0.5) / 2
derr = (dmax - dmin)/2
derr
d
lambda
theta
sin(theta)
pi
theta=theta/180*pi
theta
sin(theta)
d = lambda / sin(theta) / 2
dmin = lambda / sin(theta-0.5) / 2
dmax = lambda / sin(theta+0.5) / 2
derr
d
lambda
lambda=1.541
lambda
d = lambda / sin(theta) / 2
dmin = lambda / sin(theta-0.5) / 2
dmax = lambda / sin(theta+0.5) / 2
derr
derr = dmax - dmin
derr
d
derr = (dmax - dmin)/2
d
derr
dmax
dmin
dmax = lambda / sin(theta+0.5/180*pi) / 2
dmin = lambda / sin(theta-0.5/180*pi) / 2
derr = (dmax - dmin)/2
d
derr
derr = (dmin - dmax)/2
d
derr
density=2.0
packing=0.6
6.32
avgdist = 6.32
weight = 12.011
weight = 1.99e-23
avgdist = 6.32e-8
weight/(avgdist^3)
weight/(1/3*avgdist^3)
weight/(1/2*avgdist^3)
packing*weight/(1/2*avgdist^3)
avgdist
packing*weight/((avgdist/2)^3)
packing
weight
volume=avgdist^3
vol
volume
avgdist = c(6.32,3.93,2.13,7.37,4.44,5.54,3.95,2.60,1.97)
avgdisterr = c(.45,.09,.05,.62,.22,.35,.17,.07,.04)
avgdisterr
avgdist
density = mass/volume
mass = weight
weight
volmin=(avgdist-avgdisterr)^3
volmin
avgdist
avgdist = avgdist*1e-8
avgdist
volmin=(avgdist-avgdisterr)^3
avgdisterr = avgdisterr*1e-8
volmin=(avgdist-avgdisterr)^3
volmin
volmax=(avgdist+avgdisterr)^3
volmax
mass
mass = 1.99442e-23
densitymin=mass/volmin
densitymax=mass/volmax
densityerr=(densitymax-densitymin)/2
density=densitymax-densityerr
density
densityerr
densityerr=(densitymin-densitymax)/2
densitymax
densitymin
density=densitymin-densityerr
density
densityerr
densitymin=mass/volmin/packing
packing
densitymax=mass/volmax/packing
densityerr=(densitymin-densitymax)/2
density=densitymin-densityerr
density
densityerr
knowndensity
knowndensity=2.0
densitydev = density/knowndensity
densitydevmin
densitydevmin = densitymin/knowndensity
densitydevmax = densitymax/knowndensity
densitydeverr = (densitymin - densitymax)/
densitydeverr = (densitymin - densitymax)/2
densitydeverr
density
densityerr
sqrt(3)
3.26/1.73
3.26*1.73
sqrt(4)
2.836*2
h=c(1,0,0,1,2,0,0,2)
k=c(1,0,2,1,2,0,2,2)
l=c(1,2,2,3,2,4,4,4)
spacing=c(3.258,2.826,1.997,1.700,1.629,1.411,1.261,1.152)
lattice=space*sqrt(h^2+k^2+l^2)
lattice=spacing*sqrt(h^2+k^2+l^2)
lattice
2theta
2theta = yp
2theta = 2
twothetameas=c(27.3689,31.6375,45.3846,53.8732,56.4297,66.1799,75.2911,83.9488)
twothetacalc=c(27.367,31.7.4,45.449,53.87,56.474,66.229,75.294,83.994)
twothetacalc=c(27.367,31.704,45.449,53.87,56.474,66.229,75.294,83.994)
twothetadev=twothetameas/twothetacalc
twothetadev
twothetadev=1-twothetadev
twothetadev
spacing
spacingrelerr=0.2/spacing
spacingrelerr
spacingrelerr*5.64
predspacing=c(3.26,2.82,1.99,1.70,1.63,1.41,1.29,1.26,1.15)
spacingdev=spacing/predspacing
predspacing=c(3.26,2.82,1.99,1.70,1.63,1.41,1.26,1.15)
spacingdev=spacing/predspacing
spacingdev
spacingdev=1-spacingdev
spacingdev
measint=c(8.7,100,64.3,2.2,20.2,8.7,22.5,16.2)
obsint=c(2.32,100,16.75,0.58,4.36,8.96,5.54,2.42)
devint=obsint/measint
devint=1-devint
devint
devint=obsint/measint
devint
measint
obsint
devint=1-devint
devint
.98*5.64
.98/5.64
.35/5.64
4.35-0.087
(4.35-0.087)/2
4.35 - (4.35-0.087)/2
measint
obsint
quit()

Binary file not shown.

BIN
xrd/report/lignin.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

View File

@ -33,27 +33,26 @@
\maketitle
\begin{abstract}
Western Michigan University's new X-ray Diffractometer is used to probe four samples. The absorption depths are reported for each sample. Bragg diffraction is discussed as it pertains to a cubic geometry. The lattice contant is computed for an NaCl sample. For three amorphous samples -- wood, grease, and plastic -- the average distance between atoms is computed, and from this the density is computed.
Western Michigan University's new X-ray Diffractometer is used to probe four samples. The absorption depths are reported for each sample. Bragg diffraction is discussed as it pertains to a cubic geometry. The diffraction pattern from a sodium-chloride (NaCl) sample is analyzed in detail. The lattice contant is computed for this sample. For three amorphous, organic samples -- wood, grease, and plastic -- the average distance between atoms is computed, and from this the density is computed. The lattice constant computed for NaCl agrees strongly with known values, and the median compute density across all amorphous samples deviates from carbon density by approximately 10\%.
\end{abstract}
%─────────────
\section{Introduction}
\label{sec:intro}
Bragg diffraction of X-rays is a useful method for characterising the atomic and molecular structure of materials. Many mechanical and electric properties are functions of the structures that constitute materials. Bragg diffraction uses the wave theory of electromagnetic radiation to predict how X-rays will interact with the atomic lattice of a crystal. The spacing between atoms can be measured by inference, and the average spacing between atoms is often called the ``lattice constant''.\\
Bragg diffraction of X-rays is a useful method for characterising the atomic and molecular structure of materials. Many mechanical and electric properties are functions of the atomic structures that constitute materials. Bragg diffraction uses the wave theory of electromagnetic radiation to predict how x-rays will interact with the atomic lattice of a crystal. The spacing between atoms can be measured by inference, and these spacings are called the lattice constants.\\
We attempt to compute the lattice constant from an X-ray diffractometer reading of a sample of NaCl, or common salt. NaCl forms a cubic crystal structure, so it has a single lattice constant, and this is computed from the diffraction pattern and compared to known values. Three amorphous samples are also analyzed: plastic of an unknown type; grease; and plywood. These materials are not expected to have rigid crystal structures, but the average spacing between atoms can still be ascertained from the diffraction pattern.\\
We attempt to compute the lattice constant from an x-ray diffractometer reading of a sample of NaCl, or common salt. NaCl forms a cubic crystal structure, so it has a single lattice constant. This will be computed from the diffraction pattern and compared to known values. Three amorphous samples will also be analyzed: plastic of an unknown type; grease; and wood. These materials are not expected to have rigid crystal structures, but the average spacing between atoms can be ascertained from the diffraction pattern. These materials are made of mostly carbon, with some hydrogen and oxygen. We therefore expect their densities to be nearly that of amorphous carbon.\\
\section{Bragg Diffraction}
\label{subsec:bragg}
The diffraction angle of X-rays by atoms in a crystal lattice or other molecule depends on the distance between atoms. The lattice constants of a crystal describe the distances and angles between atoms, but in the case of a cubic lattice such as NaCl, there is only one relevant lattice constant. Bragg diffraction predicts strong X-ray signals at diffraction angles that produce constructive interference. Figure~\ref{fig:bragg} illustrates the geometry of Bragg diffraction; the distance between planes d is the lattice constant, and the Bragg condition
The diffraction angle of x-rays by atoms in a crystal lattice or other molecule depends on the distance between atoms. The lattice constants of a crystal describe the distances and angles between atoms, but in the case of a cubic lattice such as NaCl, there is only one relevant lattice constant. Bragg diffraction predicts strong x-ray signals at diffraction angles that produce constructive interference. Figure~\ref{fig:bragg} illustrates the geometry of Bragg diffraction; the distance between planes d is the lattice constant, and the Bragg condition
\begin{equation}
\centering 2d\sin \theta = n\lambda,
\end{equation}
where $\lambda$ is the photon wavelength of the X-ray and $n$ a positive integer describes the angles at which strong signals should be detected. \cite{advlabxrd}
where $\lambda$ is the photon wavelength of the X-ray and $n$ a positive integer describes the angles at which strong signals should be detected. \cite{advlabxrd} \\
\begin{figure}
\center
@ -62,97 +61,83 @@ Western Michigan University's new X-ray Diffractometer is used to probe four sam
\label{fig:bragg}
\end{figure}
The modern approach to analyzing materials by Bragg diffraction is to interpret the output as the reciprocal space representation of the lattice positions. An inverse Fourier transform then gives the positions that make the lattice. The HighScore Plus software, associated with the Empyrean XRD, is used to perform these operations. \cite{highscore}\\
\begin{table}
\centering
\begin{tabular}{cccc}
Copper Line & Energy (eV) & Frequency (Hz) & Wavelength\\
\hline
K-$\alpha_1$ & 8046 & 1.946$\times 10^{18}$ & 1.541$\times 10^{-10}$\\
K-$\alpha_2$ & 8027 & 1.941$\times 10^{18}$ & 1.393$\times 10^{-10}$\\
K-$\beta$ & 8903 & 2.153$\times 10^{18}$ & 1.545$\times 10^{-10}$\\
\end{tabular}
\end{table}
The modern approach to analyzing materials by Bragg diffraction is to interpret the output as the reciprocal space representation of the lattice positions. An inverse Fourier transform then gives the positions that make the lattice. The HighScore Plus software, associated with the Empyrean XRD, is used to perform these operations. \cite{highscore} It computes a spacing constant in angstroms, which can be interpretted as the cubic lattice constant, and other quantities.
A crystal powder sample will have random orientations across all possible rotations in 3 dimensions; we call this powder diffraction. In a cubic crystal the Miller indices ($h~k~l$) describe the orientation of the planes, thereby predicting a periodic lattice points along the z-axis that will produce constructive interference. While the lattice constant does not change, each orientation may result in a different diffraction spacing, so a powder diffraction will result in a diffraction pattern where signals are observed at many angles; observe Figure~\ref{fig:miller}. The lattice constant can be computed in each case.
A crystal powder sample will have random orientations across all possible rotations in 3 dimensions; we call this powder diffraction. In a cubic crystal the Miller indices ($h~k~l$) describe the orientation of the planes, predicting periodic lattice points along the z-axis that will produce constructive interference. While the lattice constant does not change, each orientation may result in a different diffraction spacing, so a powder diffraction will result in a diffraction pattern where signals are observed at many angles; observe Figure~\ref{fig:miller}. The lattice constant can be computed in each case.\\
%─────────────
\section{Material Structure}
\label{subsec:nacl}
The structure of some samples tested here are known. NaCl is a face-centered cubic lattice with lattice constant $a = 564.02 \textrm{pm}$. \cite{naclwiki} This closely agrees with the value reported by Wallace and Barrett: $a = 5.64 \pm 0.0005 \textrm{\AA}$. \cite{10.1021/ja01631a014} The allowed miller indices for a FCC lattice are given in Table~\ref{tab:cubicstructure}, with the computed diffraction spacing, and some of the geometries are shown in Figure~\ref{fig:miller}. \\
The structure of some samples tested here are known. Sodium-Chloride is a face-centered cubic lattice with lattice constant $a = 564.02 pm$. \cite{naclwiki} This closely agrees with the value reported by Wallace and Barrett: $a = 5.64 \pm 0.0005 \AA$. \cite{10.1021/ja01631a014} The allowed miller indices for a FCC lattice are given in Table~\ref{tab:cubicstructure}, with the computed diffraction spacing, and some of the geometries are shown in Figure~\ref{fig:miller}.
\begin{table}[]
\begin{table}
\centering
\begin{tabular}{lllllll}
h & k & l & 2$\theta$ {[}\degree{]} & Spacing {[}\AA{]} & Refl. Int. {[}\%{]} \\
\begin{tabular}{llllll}
h & k & l & Spacing () & $2\theta (\degree)$ & Reflected Int. (\%) \\
\hline
1 & 1 & 1 & 27.367 & 3.25626 & 8.7 \\
0 & 0 & 2 & 31.704 & 2.82 & 100 \\
0 & 2 & 2 & 45.449 & 1.99404 & 64.3 \\
1 & 1 & 3 & 53.87 & 1.70052 & 2.2 \\
2 & 2 & 2 & 56.474 & 1.62813 & 20.2 \\
0 & 0 & 4 & 66.229 & 1.41 & 8.7 \\
1 & 3 & 3 & 73.072 & 1.2939 & 1 \\
0 & 2 & 4 & 75.294 & 1.26114 & 22.5 \\
2 & 2 & 4 & 83.994 & 1.15126 & 16.2 \\
1 & 1 & 1 & 3.26 & 27.367 & 8.7 \\
0 & 0 & 2 & 2.82 & 31.704 & 100 \\
0 & 2 & 2 & 1.99 & 45.449 & 64.3 \\
1 & 1 & 3 & 1.70 & 53.87 & 2.2 \\
2 & 2 & 2 & 1.63 & 56.474 & 20.2 \\
0 & 0 & 4 & 1.41 & 66.229 & 8.7 \\
1 & 3 & 3 & 1.29 & 73.072 & 1 \\
0 & 2 & 4 & 1.26 & 75.294 & 22.5 \\
2 & 2 & 4 & 1.15 & 83.994 & 16.2 \\
\end{tabular}
\caption{Allowed Miller indices ($h~k~l$) for NaCl. For each, the predicted diffraction spacing along the axis normal to the sample surface is predicted, and the incidence angle with its expected reflected intensity. \cite{10.1021/ja01631a014} \cite{highscore}}
\label{tab:cubicstructure}
\end{table}
\begin{figure}
{[}A{]}\includegraphics[width=1.4in]{FCC_002.pdf}
{[}B{]}\includegraphics[width=1.4in]{FCC_111.pdf}
{[}C{]}\includegraphics[width=1.4in]{FCC_022.pdf}
{[}D{]}\includegraphics[width=1.4in]{FCC_133.pdf}
\begin{figure}[]
[A]\includegraphics[width=1.4in]{FCC_002.pdf}
[B]\includegraphics[width=1.4in]{FCC_111.pdf}
[C]\includegraphics[width=1.4in]{FCC_022.pdf}
[D]\includegraphics[width=1.4in]{FCC_133.pdf}
\caption{Four of the atomic plane orientations of a face-centered cubic lattice that result in Bragg diffraction. The Miller indices ($h~k~l$) for each structure are [A] (0 0 2) [B] (1 1 1) [C] (0 2 2) [D] (1 3 3). The predicted diffraction spacings are tabulated in Table~\ref{tab:cubicstructure}}
\label{fig:miller}
\end{figure}
Amorphous materials consisting of mostly carbon have complex structures. Therefore, they are difficult to analyze in detail. \cite{C3CS60279F} The diffraction pattern peak should reach a maximum at the angle $\theta$ corresponding to the average distance between atoms, and lesser peaks can be expected as indicators of other prominent structures within a sample. These values will be determined and a density computed from the average distance between atoms. \cite{advlabxrd}
Amorphous materials consisting of mostly carbon have complex structures. Therefore, they are difficult to analyze in detail. \cite{C3CS60279F} The diffraction pattern peak should reach a maximum at the angle $\theta$ corresponding to the average distance between atoms, and lesser peaks can be expected as indicators of other prominent structures within a sample. These values will be determined and a density computed from the average distance between atoms. \cite{advlabxrd} \\
\begin{table}
\centering
\begin{tabular}{rllll}
Mat. & Packing {[}n.u.{]} & Density {[}g/cm$^3${]} & MAC {[}cm$^2$/g{]} & Pen. Depth {[}$\mu m${]} \\
\begin{tabular}{rlllll}
Mat. & Packing Frac. & Density (g/cm$^3$) & Atomic Mass (g) & MAC (cm$^2$/g) & Pen. Depth ($\mu \textrm{m}$) \\
\hline
NaCl & 0.7 & 2.165 & 73.7 & 206 \\
Plastic & 0.6 & 2.0 & 4.3 & 4460 \\
Grease & 0.6 & 2.0 & 4.3 & 4460 \\
Wood & 0.6 & 2.0 & 4.3 & 4460 \\
NaCl & 0.7 & 2.165 & - & 73.7 & 206 \\
Carbon & 0.6 & 2.0 & $1.99442\times10^{-23}$ & 4.3 & 4460 \\
\end{tabular}
\caption{Properties of interest for the materials analyzed in this study. Values for the amorphous materials are assumed to be those of simple amorphous carbon. Packing efficiencies are rough estimates. The mass attenuation coefficients are taken from the NIST Hubbell and Seltzer database, and other values are as reported on wikipedia, April 17, 2017. \cite{MACNIST} \cite{naclwiki} \cite{carbonwiki}}
\caption{Properties of interest for the materials analyzed in this study. Values for the amorphous materials are assumed to be those of amorphous carbon. Packing fractions are rough estimates. The mass attenuation coefficients are taken from the NIST Hubbell and Seltzer database, and used by HighScore Plus to compute the penetration depth. Densities and atomic mass are as reported on Wikipedia, April 17, 2017. \cite{MACNIST} \cite{naclwiki} \cite{carbonwiki}}
\label{tab:properties}
\end{table}
\subsection{Penetration Depth}
\label{subsec:pendepth}
The penetration depth is computed for each material. The defining formula
The penetration depth of Cu K-$\alpha_1$ is computed for each material. This is the depth in a material by which 98\% of the photons at this energy will have attentuated. The defining formula
\begin{equation}
I_L = I_0 \times e^{-(\frac{\mu}{\rho}\rho L)}
\end{equation}
is valid for symmetric (gonio) scans. \cite{highscore} The HighScore Plus software computes the penetration depth from the mass attentuation coefficient, specific gravity of the material, and a powder packing efficiency. These values are tabulated in Table~\ref{tab:properties} along with the computed penetration depths. Penetration depth is computed for an incidence angle 90\degree, which gives maximum penetration.
is valid for symmetric (gonio) scans. \cite{highscore} The HighScore Plus software computes the penetration depth from the mass attentuation coefficient, specific gravity of the material, and a powder packing fraction. These values are tabulated in Table~\ref{tab:properties} along with the computed penetration depths. Penetration depth is computed for an incidence angle 90\degree, which gives maximum penetration. \\
%─────────────
\section{X-ray Diffractometer}
\label{subsec:diffrator}
An Empyrean X-ray diffractometer by PANalytical \cite{empyrean} was used to collect a diffraction pattern from each sample. In this machine, an X-ray source emits onto a material sample, and a detector records X-rays diffracted at the angle of incidence; see Figure~\ref{fig:diffractometer}. X-rays are created by accelerating electrons toward a copper anode (Figure~\ref{fig:xraysource}). The X'Celerator detector is an X-ray sensor with a window size of $9 \textrm{mm} \times 15 \textrm{mm}$ and Copper K-$\alpha$ efficiency $>94\%$ \cite{xcelerator}.\\
An Empyrean x-ray diffractometer by PANalytical \cite{empyrean} was used to collect a diffraction pattern from each sample. In this machine, an x-ray source emits onto a material sample, and a detector records x-rays diffracted at the angle of incidence; see Figure~\ref{fig:diffractometer}. X-rays are created by accelerating electrons toward a copper anode (Figure~\ref{fig:xraysource}). The X'Celerator detector is an x-ray sensor consisting of 127 single-file barrier detectors with copper K-$\alpha$ efficiency $>94\%$ \cite{xcelerator}.\\
The sample container depth was not measured during the experiment -- a major oversight. A best guess for the sample tray depth is $1.5\pm.3$ cm. If the penetration depth of a material exceeds this distance, diffraction from the container may be observed, contaminating the results.
\begin{figure}
\center
\includegraphics[width=3in]{empyrean_sample.jpg}
\includegraphics[width=3in]{empyrean_scanners.pdf}
\caption{The PANalytical Empyrean X-ray diffractometer. Sample are placed in a bin at the center. X-rays are generated in the arm on the left, diffracted by the sample at the center, and detected at an angle $\theta$ by the X'Celerator in the arm on the right. Each scan ran through $\theta = \{5\degree .. 45\degree\}$.}
\caption{The PANalytical Empyrean x-ray diffractometer. A sample is placed in a bin at the center. X-rays are generated in the arm on the left, diffracted at an incidence angle $\theta$ by the sample at the center, and detected at a reflected angle $\theta$ by the X'Celerator in the arm on the right. Each scan runs through $\theta = \{5\degree .. 45\degree\}$.}
\label{fig:diffractometer}
\end{figure}
@ -160,95 +145,132 @@ Western Michigan University's new X-ray Diffractometer is used to probe four sam
\center
[A]\includegraphics[width=3in]{xraytube.png}
[B]\includegraphics[width=3in]{Copper_K_Rontgen.png}
\caption{X-rays are generated when collisions with accelerated electrons knock electrons in the copper atoms of the anode out of the K shell. When the electrons fall back to the K shell, X-rays are emitted with energies indicated in [B]. These energy values are important for predicting the X-ray diffraction pattern from Bragg diffraction. \cite{advlabxrd} \cite{xraytubephoto}}
\caption{[A] X-rays are generated when collisions with accelerated electrons knock electrons in the copper atoms of the anode out of the K shell. When the electrons fall back to the K shell, x-rays are emitted with energies indicated in [B]. These energy values are important for predicting the x-ray diffraction pattern from Bragg diffraction. \cite{advlabxrd} \cite{xraytubephoto}}
\label{fig:xraysource}
\end{figure}
\begin{table}
\centering
\begin{tabular}{cccc}
Copper Emission & Energy (eV) & Frequency (Hz) & Wavelength ($\textrm{\AA}$)\\
\hline
K-$\alpha_1$ & 8046 & 1.946$\times 10^{18}$ & 1.541\\
K-$\alpha_2$ & 8027 & 1.941$\times 10^{18}$ & 1.393\\
K-$\beta$ & 8903 & 2.153$\times 10^{18}$ & 1.545\\
\end{tabular}
\caption{Copper K-$\alpha$ and K-$\beta$ x-ray photon properties. The K-$\alpha_1$ is the primary driver of x-ray diffraction in this study, but the other x-rays are also present in smaller numbers.}
\label{tab:kalpha}
\end{table}
\subsection{Computational Details}
\label{sec:compdets}
The phases of the X-rays are not known, so the HighScore Plus software from PANalytical determines the phase by fitting predicted profiles. A background is determined using the minimum 2nd derivative method with ``bending factor'' = 5, ``granularity'' = 20, and using smoothed input data. Peaks are located with ``minimum significant'' = 10.00, ``minimum tip width'' = 0.01, ``maximum tip width'' = 1.00, and ``peak base width'' = 2.00. \cite{highscore}
The phases of the x-rays cannot be measured, so the HighScore Plus software from PANalytical determines the phase by fitting predicted profiles. To identify the NaCl pattern, a background is determined using the minimum 2nd derivative method with ``bending factor'' = 5, ``granularity'' = 20, and using smoothed input data. Peaks are located with ``minimum significant'' = 10.00, ``minimum tip width'' = 0.01, ``maximum tip width'' = 1.00, and ``peak base width'' = 2.00. \cite{highscore}.\\
The lattice constant $a$ is computed by
\begin{equation}
a = \textrm{diffraction spacing}\times\sqrt{h^2 + k^2 + l^2}.
\end{equation}
For the amorphous samples, peaks are identified by hand to within a standard error of $\pm0.05\degree$. We use the copper K-$\alpha$ wavelength from table \ref{tab:kalpha}: $\lambda = 1.541\times10^{-10} \textrm{\AA}$. The spacing is calculated as
\begin{equation}
d/n = \lambda / \left(2\sin\theta\right)
\end{equation}
with n = 1. Using the atomic mass and packing fraction from Table~\ref{tab:properties} allows the density $\rho$ to be computed as
\begin{equation}
\rho = \frac{\textrm{atomic mass}}{\textrm{unit cell volume}\times\textrm{packing fraction}}
\end{equation}
where the unit cell is assumed to be face-centered cubic with side length equal to the computed average distance.
%─────────────
\section{Results}
\label{sec:results}
The observed diffraction pattern from NaCl is presented in Figure~\ref{fig:nacldiffraction}. The HighScore software was able to identify the copper Bragg diffraction pattern, which was prominent.
\begin{figure}
\centering
[A]\includegraphics[width=6.5in]{nacl_bumps.pdf}
[B]\includegraphics[width=6.5in]{nacl_compare_bumps.pdf}
\caption{[A] HighScore Plus identified the characteristic NaCl diffraction pattern from Cu K-$\alpha$ and K-$\beta$ emission, and this is used to fit the phase and in turn determine the lattice constant. [B] At the most prominent peak, the detector measurements (red) strongly correlate with the computed diffraction lines (blue).}
\caption{[A] HighScore Plus identified the characteristic NaCl diffraction pattern from Cu K-$\alpha$ emission, and this is used to fit the phase and in turn determine the lattice constant. [B] At the most prominent peak, the detector measurements (red) strongly correlate with the computed diffraction lines (blue).}
\label{fig:nacldiffraction}
\end{figure}
\begin{table}[]
\begin{table}
\centering
\begin{tabular}{lllllll}
2$\theta$ {[}\degree{]} & Spacing {[}\AA{]} & Refl. Int. {[}\%{]} & h & k & l \\
\begin{tabular}{llrlllc}
2$\theta$ (\degree) & Spacing ($\textrm{\AA}$) & Refl. Int. (\%) & h & k & l & Lattice Const. ($\textrm{\AA}$)\\
\hline
27.3689 & 3.25875 & 2.32 & 1 & 1 & 1 \\
31.6375 & 2.8258 & 100 & 0 & 0 & 2 \\
45.3849 & 1.99671 & 16.75 & 0 & 2 & 2 \\
53.8732 & 1.70042 & 0.58 & 1 & 1 & 3 \\
56.4297 & 1.6293 & 4.36 & 2 & 2 & 2 \\
66.1799 & 1.41092 & 8.96 & 0 & 0 & 4 \\
75.2911 & 1.26118 & 5.54 & 0 & 2 & 4 \\
83.9488 & 1.15177 & 2.42 & 2 & 2 & 4
27.369~(0.000)&3.2588~(0.000)&2.32~(0.73)
&1&1&1&5.64$\pm0.35$\\
31.638~(0.002)&2.8258~(0.002)&100 ~(0.00)
&0&0&2&5.65$\pm0.40$\\
45.385~(0.001)&1.9967~(0.004)&16.75~(0.74)
&0&2&2&5.65$\pm0.56$\\
53.873~(0.000)&1.7004~(0.000)&0.58~(0.74)
&1&1&3&5.64$\pm0.66$\\
56.430~(0.000)&1.6293~(0.000)&4.36~(0.78)
&2&2&2&5.64$\pm0.69$\\
66.180~(0.000)&1.4109~(0.000)&8.96~(0.03)
&0&0&4&5.64$\pm0.80$\\
75.291~(0.000)&1.2612~(0.000)&5.54~(0.75)
&0&2&4&5.64$\pm0.89$\\
83.949~(0.000)&1.1518~(0.002)&2.42~(0.85)
&2&2&4&5.64$\pm0.98$\\
\end{tabular}
\caption{Observed peaks from the NaCl sample. Diffraction spacings and the reflected intensity ratios are computed for each located peak. The Miller indices are determined by matching angular position with Table~\ref{tab:cubicstructure}. These values are best matches reported by the HighScore software, but uncertainties were not reported. An inspection by eye gives approximately $\pm0.05\degree$ for 98\% confidence in the observed angle $2\theta$, and the computed standard error for the diffraction spacing is $\pm 0.20 \textrm{\AA}$.}
\caption{Observed peaks from the NaCl sample. Diffraction spacings and the reflected intensity ratios are computed for each. The Miller indices are determined by matching angular position with Table~\ref{tab:cubicstructure}. In parentheses is the ratio difference from predicted values in that table. These values are best matches reported by the HighScore software, but uncertainties were not reported. An inspection by eye gives approximately $\pm0.05\degree$ for 98\% confidence in the observed angle $2\theta$, and the computed standard error for the diffraction spacing is $\pm 0.20 \textrm{\AA}$.}
\label{tab:naclobs}
\end{table}
\begin{figure}
{[}A{]} \includegraphics[width=6in]{plastic_peaks.pdf} \\
{[}B{]} \includegraphics[width=6in]{grease_peaks.pdf} \\
{[}C{]} \includegraphics[width=6in]{wood_peaks.pdf} \\
\caption{Diffraction curves observed from the three amorphous samples: [A] unknown plastic; [B] grease; [C] wood. The largest peak should correspond to the average distance between atoms. Secondary peaks may indicate some secondary structure, and an interpretation will be attempted in Section~\ref{sec:conclusion}.}
\begin{figure}[]
[A] \includegraphics[width=1.9in]{plastic_peaks.pdf}
[B] \includegraphics[width=1.9in]{grease_peaks.pdf}
[C] \includegraphics[width=1.9in]{wood_peaks.pdf}
\caption{Diffraction curves observed from the three amorphous samples, presented on log scales: [A] unknown plastic; [B] grease; [C] wood. The largest peak should correspond to the average distance between atoms. Secondary peaks may indicate a secondary structure. An interpretation is attempted in Section~\ref{sec:conclusion}.}
\label{fig:amorphous_peaks}
\end{figure}
\begin{table}
\centering
\begin{tabular}{lrrrl}
Sample & 2$\theta \pm 0.5$ ($\degree$) & Spacing ($\textrm{\AA}$) & Density (g/cm$^3$) & Ratio (2g/cm$^3$)\\
\hline
Plastic*&14.0&$6.32\pm0.45$&$0.136\pm0.029$&$0.07\pm0.02$\\
Plastic &30.5&$2.93\pm0.09$&$0.549\pm0.038$&$0.27\pm0.04$\\
Plastic &42.5&$2.13\pm0.05$&$3.451\pm0.243$&$1.73\pm0.24$\\
Grease* &12.0&$7.37\pm0.62$&$0.087\pm0.021$&$0.04\pm0.02$\\
Grease &20.0&$4.44\pm0.22$&$0.385\pm0.057$&$0.19\pm0.06$\\
Wood &16.0&$5.54\pm0.35$&$0.200\pm0.038$&$0.10\pm0.04$\\
Wood* &22.5&$3.95\pm0.17$&$0.545\pm0.070$&$0.20\pm0.07$\\
Wood &34.5&$2.60\pm0.07$&$1.899\pm0.153$&$0.95\pm0.15$\\
Wood &46.0&$1.97\pm0.04$&$4.359\pm0.265$&$2.18\pm0.27$\\
\end{tabular}
\caption{Observed peaks in diffraction pattern in amorphous samples. * indicates greatest peak, likely the peak associated with the average spacing between atoms. The ratio relative to the known carbon density 2.0 g/cm$^3$ is also tabulated.}
\label{tab:amorph_spacings}
\end{table}
The penetration depths of NaCl and amorphous carbon are 206 $\mu \textrm{m}$ and 4,460 $\mu \textrm{m}$, respectively. 98\% of all photons will have attentuated at this depth in the material.
The observed diffraction pattern from NaCl is presented in Figure~\ref{fig:nacldiffraction}. The HighScore software was able to identify the copper Bragg diffraction pattern, which was prominent by inspection. Table~\ref{tab:naclobs} contains the values obtained by the program, with divergence from predicted values. The lattice constant for NaCl's face-centered cubic structure is computed from each value, all returning approximately 5.64, with relative error between 7\% and 18\%.
Several peaks were identified for each amorphous sample. In each case, a spacing was determined and a density computed. These are reported in Table~\ref{tab:amorph_spacings}. The densities ran from 0.087 to 4.359 g/cm$^3$, which is a run of about 1.5 orders of magnitude. The median value is 2.22 g/cm$^3$.
%─────────────
\section{Conclusion}
\label{sec:conclusion}
The penetration depths fall short of the 1.2 cm limit imposed by the sample container tray depth, so we do not expect that there are significant signals observed from the sample container over these collections. Signals observed may therefore reliably be considered emergent from Bragg diffraction by the samples.
The diffraction pattern of NaCl was easily and clearly identified by the HighScore Plus program. The angles of incidence and reflection deviate from predictions only in the fourth order of precision or less, as do the diffraction spacings. The reflection intensities, however, deviate by a large amount from predictions: many showing approximately $\frac{1}{4}$ the predicted intensity. It's suspicious that each of these errors falls within a small range around $\frac{1}{4}$, and this may indicate a computational error rather than an experimental one.
The lattice constant for NaCl was computed in each case, and all agree to within 3 orders of precision with the known lattice constant 5.64 $\textrm{\AA}$. This method of measuring the lattice constant appears to be very reliable.
The amorphous samples present several peaks from which to compute an average diffraction spacing. Only one of the computed densities falls precisely around the density of amorphous carbon (wood, 46.0$\degree$). Considering a cubic structure using the average distance is a rudimentary approach, and the fact that computed densities are all within 1.5 orders of magnitude of carbon's density is remarkable. It should also be noted that the median value across all of these densities is 2.22 g/cm$^3$, which only differs from carbon by about 10\%. It may be reasonable to consider that each of these peaks indicates a prominent component to the structure, so taking them all into account provides a better estimation of the density.
\printbibliography
packing fraction for salt, 60\% is about good
densities of plastic are all around 2
pick carbon, with occassional oxygens, so using just carbon you get ~$2grams/cm^3$
\cite{10.1021/ja01631a014}
\begin{figure}
\end{figure}
http://www.chm.bris.ac.uk/webprojects2003/cook/periodicstructures.htm
for NaCl: penetration depth 206.156 $\mu m$ ; 111.692 1/cm linear abs. coeff
for Carbon: 4462.403 $\mu m$; 8924.806 1/cm
383 8872
\end{document}

Binary file not shown.