What is the distance between (2,15,7) and (2,4,-4)?

1 Answer
Jun 5, 2016

The distance between (2,15,7) and (2,4,-4) is 15.5562

Explanation:

In a two dimensional plane, distance between two points (x_1,y_1) and (x_2,y_2) is given by

sqrt((x_2-x_1)^2+(y_2-y_1)^2)

and in three dimensional space, distance between two points (x_1,y_1,z_1) and (x_2,y_2,z_2) is given by

sqrt((x_2-x_1)^2+(y_2-y_1)^2+(z_2-z_1)^2)

Hence, the distance between (2,15,7) and (2,4,-4) is

sqrt((2-2)^2+(4-15)^2+(-4-7)^2)

= sqrt(0^2+(-11)^2+(-11)^2)=sqrt(0+121+121)=11sqrt2=15.5562