Properties of Water

This program computes the density, specific gravity, and volumetric expansion of water at atmospheric pressure for various temperatures using a fifth order polynomial to calculate density and specific gravity.

Program Notes
The program may be run in either Fahrenheit or centigrade.

Downloads:
basic program (liberty basic) lbpw.bas

Test Case:

Find the density and specific gravity of water at 60°F and at 20°C.


PROPERTIES OF WATER


FAHRENHEIT OR CENTIGRADE (F/C) ? F

INPUT INITIAL TEMP (32-212 F ) = 60

DENSITY (KG/M^3) = 999.016447
DENSITY (#/FT^3) = 62.3665588
DENSITY (#/GAL)  = 8.33716158
SPECIFIC GRAVITY = 0.99904142

CALCULATE VOLUME EXPANSION? Y/N =  Y

INPUT FINAL TEMP (32-212 F ) = 212

VOLUME OF WATER V= 12

DENSITY (KG/M^3) = 958.364855
DENSITY (#/FT^3) = 59.8287628
DENSITY (#/GAL)  = 7.99790902
SPECIFIC GRAVITY = 0.95838881

ORIGINAL VOLUME = 12
FINAL VOLUME= 12.5090119
DIFFERENCE VOL= 0.50901189

RERUN PROGRAM WITH NEW DATA Y/N =  N