Distance Between Two Points
Find distance between two points: x1, y1 and x2, y2
Formula of distance between two points
Use formula below for calculating distance between two points:
d = √(x_{2}  x_{1})^{2} + (y_{2}  y_{1})^{2}
Example
Let's say, we have:
 x_{1} = 1
 y_{1} = 2
 x_{2} = 3
 y_{2} = 7

√ (3  1)^{2} + (7  2)^{2}

√ (2)^{2} + (5)^{2}

√ 4 + 25

√ 29
 d ≈ 5,38