Final answer:
The distance between the ship and the port is approximately 22.47 kilometers.
Step-by-step explanation:
To find the distance between the ship and the port, we can use the Pythagorean theorem. The ship has sailed 12 kilometers west and 19 kilometers north. These distances form the legs of a right triangle, with the distance between the ship and the port as the hypotenuse. Using the Pythagorean theorem, we can calculate the distance:
d = sqrt((12^2) + (19^2))
d = sqrt(144 + 361)
d = sqrt(505)
d ≈ 22.47 kilometers