Question 1197174
<font color=black size=3>
Point A = ant's position
Point B = spider's position


A = (x1,y1,z1) = (2,5,7)
B = (x2,y2,z2) = (4,6,10)


Use the 3D version of the distance formula
d = distance from A to B


{{{d = sqrt((x[1]-x[2])^2+(y[1]-y[2])^2+(z[1]-z[2])^2)}}}


{{{d = sqrt((2-4)^2+(5-6)^2+(7-10)^2)}}}


{{{d = sqrt((-2)^2+(-1)^2+(-3)^2)}}}


{{{d = sqrt(4+1+9)}}}


{{{d = sqrt(14)}}} is the exact distance between the two points A(2,5,7) and B(4,6,10); i.e. it is the exact length of segment AB.


*[tex \Large \sqrt{14} \approx 3.741657]
</font>