代数 例
(7,7,7)(7,7,7) , (6,6,6)(6,6,6)
ステップ 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=√(6-7)2+(6-7)2+(6-7)2Distance=√(6−7)2+(6−7)2+(6−7)2
ステップ 3
ステップ 3.1
66から77を引きます。
Distance=√(-1)2+(6-7)2+(6-7)2Distance=√(−1)2+(6−7)2+(6−7)2
ステップ 3.2
-1を2乗します。
Distance=√1+(6-7)2+(6-7)2
ステップ 3.3
6から7を引きます。
Distance=√1+(-1)2+(6-7)2
ステップ 3.4
-1を2乗します。
Distance=√1+1+(6-7)2
ステップ 3.5
6から7を引きます。
Distance=√1+1+(-1)2
ステップ 3.6
-1を2乗します。
Distance=√1+1+1
ステップ 3.7
1と1をたし算します。
Distance=√2+1
ステップ 3.8
2と1をたし算します。
Distance=√3
Distance=√3
ステップ 4
(7,7,7)と(6,6,6)の距離は√3です。
√3≈1.7320508