Elevator Altimeter

Dependencies:   Lab7 mbed

Dependents:   Lab7

Revision:
0:a67807d31892
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lab_documentation.txt	Sat Mar 10 01:40:42 2018 +0000
@@ -0,0 +1,58 @@
+LAB 7 - DOCUMENTATION
+Krish Hemant Mhatre
+Ethan Zhang
+
+The code first calculates the altitude (distanceA) then waits for one second and then calculates altitude once again (distanceB).
+It calculates the velocity of the elevator by the formula velocity = (difference in altitude)/time.
+Time is one second.
+
+The altimeter waas tested in two different elevators - Luddy Hall and Geology Building.
+The observations are as follows:
+
+Luddy Hall Up   
+Time (s)    Velocity (m/s)
+1           0.2500
+2           0.1250
+3           2.1250
+4           2.4375
+5           2.5625
+6           0.7500
+7           0.0625
+
+Luddy Hall Down 
+Time (s)    Velocity (m/s)
+1           0.0625
+2           0.6250
+3           1.3750
+4           2.3750
+5           3.3750
+6           1.1875
+7           0.2500
+8           0.1875
+    
+Geology Up  
+Time (s)    Velocity (m/s)
+1           0.1250
+2           0.8750
+3           1.8125
+4           1.3750
+5           1.8750
+6           1.5625
+7           0.2500
+8           0.1250
+
+Geology Down    
+Time (s)    Velocity (m/s)
+1           0.4375
+2           1.2500
+3           1.6875
+4           1.6250
+5           1.5000
+6           1.5000
+7           1.1250
+8           0.5625
+9           0.4375
+10          0.1875
+
+
+The graphs for all four observations and the eagle schematic of the board have been submitted in canvas.
\ No newline at end of file