On a day when the speed of sound is 340 m/s, a ship sounds its whistle. The echo of the sound from the shore is heard at the ship 10.0 s later. How far is the ship from the shore