What other examples can you think of where it would be best to use the second method to determine the distance between two points?