On modal analysis of ship strength