compute the euclidean distance City block distance chessboard distance for the point p and q where p is 2, 3, 7 and q is 2, 3, 2
Answers
Answered by
1
In Question is the first word compute
For me it is showing complete
Pls comment if it is compute
For me it is showing complete
Pls comment if it is compute
Answered by
0
Answer:
euclidean distance=5,
city distance=5,
chessboard distance=5
Explanation:
Given p(2,3,7), q(2,3,2)
Euclidean formula:-
where p(x1,y1,z1) and q(x2,y2,z2)
hence 5 is euclidean distance.
city distance:-
hence 5 is city distance.
chessboard distance:-
d=Max(|x1-x2|,|y1-y2|,|z1-z2|)
where d is the chessboard distance
d=Max(|2-2|,|3-3|,|7-2|)
d= Max(0,0,5)
d=5
hence 5 is the chessboard distance
Similar questions
Geography,
6 months ago
Social Sciences,
6 months ago