what is the equation of distance in science​