Very interesting! This function could be used to calculate the shortest fly distance between continents in order to minimize CO2…