The distance between Port A and Port B is 9 nm. If a boat travels at 18 knots to Port B and returns back to Port A at 15 knots, what is the average speed for the whole journey? Note: The average speed is equal to the total distance divided by the total time of travel.
Note that 1 knot = 1 nautical mile per hour (1 nm/hr).
The time spent by the boat to travel from port A to port B is given by .
The time spent by the boat to travel from port B back to port A is .
Thus, the total distance traveled is 9 nm + 9 nm = 18 nm, and the total time taken is 0.5 hours + 0.6 hours = 1.1 hours.
Therefore, the average speed is the total distance traveled divided by the total time taken = .