The purpose of the inclining experiment on a ship is to determine