Term project 2: Programming for calculation of the hydrostatic force in various ship position