Distance calculation tool between two points (known two-point plane geometry)

发布时间 : 2025-12-17 01:41:48 UTC      

类别 : Geometric

Page Views: 3618 views

It is often used to find the distance in function graphics, and then to find the coordinates of points by distance.

The coordinates of points A and B are known to be A(x1,y1),B(x2,y2)

The square of distance AB between two points is

AB²=(x1-x2)²+(y1-y2)²

After calculating the distance AB.

For example, the coordinates of points A and B are known to be A(1,2),B(4,6)

AB²=(1-4)²+(2-6)²=25

AB=√25=5

It can also be calculated directly. :

AB=√[(1-4)²+(2-6)²]=√25=5