The volume of a solid is not easily amenable to direct electronic measurement. The principle of displacement, however, allows indirect sensing of
volume, because when a solid is completely immersed in a liquid it
displaces an amount of liquid equal to its own volume.