To calculate the distance between two ports:
\[ D = \sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2} \]
Where:
Port distance refers to the measurement of the distance between two seaports. This measurement is typically used in the shipping and logistics industry to calculate the time and cost of transporting goods from one port to another. The distance is usually measured in nautical miles and can be influenced by factors such as the route chosen, weather conditions, and maritime regulations.
Consider the following coordinates:
Using the formula:
\[ D = \sqrt{(-118.2437 - (-74.0060))^2 + (34.0522 - 40.7128)^2} \]
The distance between the ports is approximately 2445.51 nautical miles.
Consider the following coordinates:
Using the formula:
\[ D = \sqrt{(10.0000 - 0.0000)^2 + (10.0000 - 0.0000)^2} \]
The distance between the ports is approximately 14.14 nautical miles.