The answer will be the diagonal (hypotenuse) for a horizontal distance x2-x1 and a vertical distance y2-y1 . The square root of the squares gives the diagonal (hypotenuse).
In this case, the y difference is 0, so the distance is simply the x change of 4.
Chat with our AI personalities
0 0
8.54
Points: (2, 4) and (5, 0) Distance: 5
Points: (-5, -2) and (3, 13)Distance works out as 17 units
The distance between two points is Square root of [ (difference in their 'x' coordinates)2 + (difference in their 'y' coordinates)2 ]