arccos(radius of the earth/(6 ft+radius of the earth))*radius of the earth