# To calculate the distance between two points

To calculate the distance between two points $(x_1,y_1)$ and $(x_2,y_2)$:

$d=\sqrt{(x_1-x_2)^2+(y_1-y_2)^2}$

SHARE THIS
Previous Post
Next Post