157k views
4 votes
Which of the following will be Manhattan Distance between the two data point A(1,3) and B(2,4)?

a) 4
b) 1.4
c) 1
d) 2

User Roemer
by
9.6k points

1 Answer

0 votes

Final answer:

The Manhattan Distance between points A(1,3) and B(2,4) is calculated as the sum of the absolute differences of their x and y coordinates, which results in a distance of 2. So, the correct answer is option d) 2.

Step-by-step explanation:

The Manhattan Distance between two points A(x1, y1) and B(x2, y2) is calculated as the sum of the absolute differences of their coordinates. The formula is: Manhattan Distance = |x2 - x1| + |y2 - y1|. For points A(1,3) and B(2,4), the Manhattan Distance is |2 - 1| + |4 - 3|, which simplifies to 1 + 1, resulting in a Manhattan Distance of 2.

User Idan Wender
by
8.4k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.