# Distance Calculator

## Distance Formula

The distance between two points on an xy-plane can be found using the following formula:

*Note: distance is noted as d(P1,P2) which means distance (d) for P1 (point 1) and P2 (point 2)

## Sample Distance Problem

Haley has 2 points on an xy-plane and she would like to know the distance between them. The points are (2,3) and (4,7). What is the distance?

Answer: The distance between the points is d(P1,P2) = 4.472

Note that for P1 (2,3), 2 = x_{1} and 3 = y_{1} and

P2 (4,7), 4 = x_{2} and 7 = y_{2}.