Using a data logger and a computer, the experiment shows the simple harmonic motion of a spring oscillating vertically. The sensor sends a sound wave to the oscillating carrier and bounces back to the sensor. The sensor continuously calculates the distance from carrier to the sensor.