Steer a ship nearer the wind