the measure of distance is Euclidean code example Example: euclidean distance The distance between two points based on the pythagoream theorem