The mean sea level equation and its application to the mediterranean sea