\documentclass{article}
\usepackage{circuitikz}
\usepackage{siunitx}

\usepackage[a4paper, total={6in, 8in}]{geometry}

\usepackage{graphicx}
\usepackage[T1]{fontenc}
\usepackage{framed}
\usepackage{longtable,booktabs,array}
\usepackage{caption}

\title{Lab 1}
\author{Martin Kennedy}

\begin{document}
\maketitle

\section{Introduction}
Unlike DC signals, AC signals are time-varying, posing unique
challenges to recording, characterizing and otherwise studying them.

In this lab, we will examine the circuit depicted in fig.~\ref{fig:circ}, and
focus on comparing the measurement of one aspect of an AC signal --
the RMS voltage -- as seen by two tools: the Digital Multimeter (DMM),
and the oscillscope. We will use numerical and analytical methods to
model this circuit and derive expected RMS values for comparison.

\section{Analytic Modeling Results}
Figure~\ref{fig:circ} depicts the circuit we are studying.

\begin{figure}[h]
  \caption{Our simple circuit}
  \label{fig:circ}
  \centering
  \begin{circuitikz}[american voltages]
    \draw
    (0,0) to [sV,l=$V_{in}$] (0,2)
    to (3,2)
    to [ R, l_=${R=\SI{7.5}{\kohm}}$ ] (3,0)
    to (0,0)
    ;
  \end{circuitikz}
\end{figure}

\section{Numerical Modeling Results}
\section{Experimental Results}
\section{Data Comparison}
\section{Conclusions}

\begin{longtable}[]{@{}lllllllll@{}}
\toprule
\endhead
\bottomrule
\endlastfoot
Set Mag. & Set Freq. & Read Mag. & Read Period & Calc. Freq. & Calc. RMS & Meas. RMS \\
2V       & 100 Hz    & 2.10 V    & 9.994  ms   & XXXXXHz     & .....V    & 1.4236 V  \\
2V       & 50 kHz    & 2.05 V    & 19.947 us   & a           & d         & 1.4112 V  \\
5V       & 100 Hz    & 5.11 V    & 10.007 ms   & b           & e         & 3.5522 V  \\
5V       & 50 kHz    & 5.11 V    & 20.005 us   & c           & f         & 3.5451 V  \\
\end{longtable}


\end{document}

