The distance between two points (x₁, y₁) and (x₂, y₂) is just Pythagoras applied to coordinates.
Distance
d = √((x₂−x₁)² + (y₂−y₁)²)
Try it
Distance between (1, 2) and (4, 6)
√(9 + 16) = √25 = 5.
The distance between two points (x₁, y₁) and (x₂, y₂) is just Pythagoras applied to coordinates.
Distance between (1, 2) and (4, 6)
√(9 + 16) = √25 = 5.