Question: how to calculate distance between two sets of coordinates?
Answer: Use the formula D2 = X2 + Y2 to find the squared distance between two points. For example, if X = 4 and Y = 5, then D2 = 42 + 52 = 41. Thus, the square of the distance between the coordinates is 41. Take the square root of D2 to find D, the actual distance between the two points.