
回答:
説明:
# "3次元バージョンの"色(青) "距離計算式を使用する#
#•色(白)(x)d = sqrt((x_2-x_1)^ 2 +(y_2-y_1)^ 2 +(z_2-z_1)^ 2)#
# "let"(x_1、y_1、z_1)=( - 7,5,6)#
# "and"(x_2、y_2、z_2)=( - 1,4,3)#
#d = sqrt(( - 1 + 7)^ 2 +(4-5)^ 2 +(3-6)^ 2)#
#色(白)(d)= sqrt(6 ^ 2 +( - 1)^ 2 +( - 3)^ 2)#
#色(白)(d)= sqrt(36 + 1 + 9)= sqrt46 ~~ 6.78#