There are several cases that will be discussed here which are categorized as gases, liquids and other. In the gas phase, the equation of state is simply the ideal gas model or the ideal gas with the compressibility factor (sometime referred to as real gas). The equation of state for liquid can be approximated or replaced by utilizing the bulk modulus. These relationships will be used to find the functionality between pressure, density and location.
Dr. Genick Bar-Meir. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or later or Potto license.