Behaviour of a ship in a sea-way