Euclidean distance

Using the Pythagorean theorem to compute two-dimensional Euclidean distance

In three dimensions, for points given by their Cartesian coordinates, the distance is