Principles of buoyancy and elasticity