What is the distance between (-2,1,-3) and (15,-13,-18)?

1 Answer
Apr 21, 2018

color(green)("Distance " d ~~ 26.61 " units"

Explanation:

(x_1, y_1,z_1) = (-2, 1, -3), (x_2, y_2, z_2) = (15, -13, -18)

color(crimson)(d = sqrt((x_2 - 1)^2 + (y_2 - y_1)^2 + (z_2-z_1)^2)

d = sqrt((15+2)^2 + (-13-1)^2 + (-18+3)^2)

d = sqrt(17^2 + 14^2 + 15^2) = sqrt(708

color(green)("Distance " d ~~ 26.61 " units"