Two boats \(A\) and \(B\) approach the shore from the north and the east, respectively. If boat \(A\) is at a distance of 21 \(km\) and boat \(B\) is at a distance of 28 \(km\). Calculate the distance between the boats.

Answer:
The distance between the boats \(=\) \(km\).