Equations to find distance using the ultrasonic range sensor