diff --git a/lab5/distance/measurements.csv b/lab5/distance/measurements.csv index 01d0565..b2eaec8 100644 --- a/lab5/distance/measurements.csv +++ b/lab5/distance/measurements.csv @@ -1,29 +1,29 @@ -Distance (cm), Measured (cm) -1, 3 -1.5, 3 -2, 3 -2.5, 3 -3, 4 -3.5, 4 -4, 5 -4.5, 5 -5, 6 -6, 7 -7, 8 -8, 9 -9, 10 -10, 11 -15, 16 -20, 21 -25, 26 -30, 31 -40, 41 -50, 51 -60, 61 -80, 81 -100, 101 -120, 122 -140, 142 -160, 162 -180, 183 -200, 203 \ No newline at end of file +Distance (cm), Measured (cm),,Difference (cm) +1,3,2,1 +1.5,3,2,0.5 +2,3,2,0 +2.5,3,2,-0.5 +3,4,3,0 +3.5,4,3,-0.5 +4,5,4,0 +4.5,5,4,-0.5 +5,6,5,0 +6,7,6,0 +7,8,7,0 +8,9,8,0 +9,10,9,0 +10,11,10,0 +15,16,15,0 +20,21,20,0 +25,26,25,0 +30,31,30,0 +40,41,40,0 +50,51,50,0 +60,61,60,0 +80,81,80,0 +100,101,100,0 +120,122,121,1 +140,142,141,1 +160,162,161,1 +180,183,182,2 +200,203,202,2 diff --git a/lab5/distance/measurements.xlsx b/lab5/distance/measurements.xlsx new file mode 100644 index 0000000..fbf5ec5 Binary files /dev/null and b/lab5/distance/measurements.xlsx differ diff --git a/labnotes/Lab 5 and 6.pdf b/labnotes/Lab 5 and 6.pdf index d664fb4..fe820e5 100644 Binary files a/labnotes/Lab 5 and 6.pdf and b/labnotes/Lab 5 and 6.pdf differ diff --git a/labnotes/Lab 5 and 6.tex b/labnotes/Lab 5 and 6.tex index bd48e2a..7823b0d 100644 --- a/labnotes/Lab 5 and 6.tex +++ b/labnotes/Lab 5 and 6.tex @@ -6,6 +6,7 @@ \usepackage{minted} \usepackage{siunitx} \usepackage{hyperref} +\usepackage{graphicx} \begin{document} \maketitle @@ -97,4 +98,11 @@ ax.set_ylim(0,255) # set limits of y axis. ... \end{minted} + + \begin{figure}[H] + \centering + \includegraphics[width=0.9\textwidth]{ranger-measurement} + \end{figure} + + The above chart shows the deviation from the actual distance as measured with the ultrasonic ranger by pointing it at a perpendicular wall certain distances away. The measurements for distances under $\SI{3}{cm}$ are all exactly $\SI{3}{cm}$, which explains the linearly decreasing distances in the lower end; as mentioned previously, the ranger cannot measure distances any closer. As distance increases, the measurement becomes less accurate: this may be because the father the pulse has to travel, the more spread out it becomes, and it bounces off parts of the wall not exactly perpendicular but slightly off centre. This explanation is further supported by the fact that when using a portable smaller surface in lieu of a wall, as I had originally done, at certain distances the surface wasn't large enough to yield a meaningful result. \end{document} \ No newline at end of file diff --git a/labnotes/ranger-measurement.png b/labnotes/ranger-measurement.png new file mode 100644 index 0000000..d85a143 Binary files /dev/null and b/labnotes/ranger-measurement.png differ