Примеры
(1,2,3)(1,2,3) , (3,2,1)(3,2,1)
Этап 1
To find the distance between two 3d points, square the difference of the x, y, and z points. Then, sum them and take the square root.
√(x2-x1)2+(y2-y1)2+(z2-z1)2√(x2−x1)2+(y2−y1)2+(z2−z1)2
Этап 2
Заменим x1x1, x2x2, y1y1, y2y2, z1z1 и z2z2 соответствующими величинами.
Distance=√(3-1)2+(2-2)2+(1-3)2Distance=√(3−1)2+(2−2)2+(1−3)2
Этап 3
Этап 3.1
Вычтем 11 из 33.
Distance=√22+(2-2)2+(1-3)2Distance=√22+(2−2)2+(1−3)2
Этап 3.2
Возведем 22 в степень 22.
Distance=√4+(2-2)2+(1-3)2Distance=√4+(2−2)2+(1−3)2
Этап 3.3
Вычтем 22 из 22.
Distance=√4+02+(1-3)2Distance=√4+02+(1−3)2
Этап 3.4
Возведение 00 в любую положительную степень дает 00.
Distance=√4+0+(1-3)2Distance=√4+0+(1−3)2
Этап 3.5
Вычтем 33 из 11.
Distance=√4+0+(-2)2Distance=√4+0+(−2)2
Этап 3.6
Возведем -2−2 в степень 22.
Distance=√4+0+4Distance=√4+0+4
Этап 3.7
Добавим 44 и 00.
Distance=√4+4Distance=√4+4
Этап 3.8
Добавим 44 и 44.
Distance=√8Distance=√8
Этап 3.9
Перепишем 88 в виде 22⋅222⋅2.
Этап 3.9.1
Вынесем множитель 44 из 88.
Distance=√4(2)Distance=√4(2)
Этап 3.9.2
Перепишем 44 в виде 2222.
Distance=√22⋅2Distance=√22⋅2
Distance=√22⋅2Distance=√22⋅2
Этап 3.10
Вынесем члены из-под знака корня.
Distance=2√2Distance=2√2
Distance=2√2Distance=2√2
Этап 4
Расстояние между (1,2,3)(1,2,3) и (3,2,1)(3,2,1) равно 2√22√2.
2√2≈2.828427122√2≈2.82842712