powered by
Calculates the density of water as a function of temperature and atmospheric pressure, using the Tumlirz Equation.
density_h2o(tc, p)
numeric, density of water, kg/m^3
numeric, air temperature (tc), degrees C
numeric, atmospheric pressure (p), Pa
F.H. Fisher and O.E Dial, Jr. (1975) Equation of state of pure water and sea water, Tech. Rept., Marine Physical Laboratory, San Diego, CA.
# Density of water at 20 degrees C and standard atmospheric pressure print(density_h2o(20, 101325))
Run the code above in your browser using DataLab