Let x1 = (1, 2) and x2 = (3, 5) represent two objects. Find the euclidean distance and manhattan distance between the two objects
Answers
Answered by
28
x1 =(1,2)
x2=(3,5)
distance =
x2=(3,5)
distance =
Answered by
0
Given ; x1 = (1, 2) and x2 = (3, 5) represent two objects
To Find ; distance
Solution ; distance between two points can be easily find out if the coordinates of both points are known just by squaring the difference between the coordinates and then taking the root . now solving according to question
Distance 2 = (x2- x1 )2 + (y2-y1)2
= 4+9
=13
hence the distance is root 13
Similar questions