summaryrefslogtreecommitdiff
path: root/797/CH2/EX2.3.e/2_03_example.sci
diff options
context:
space:
mode:
Diffstat (limited to '797/CH2/EX2.3.e/2_03_example.sci')
-rw-r--r--797/CH2/EX2.3.e/2_03_example.sci8
1 files changed, 8 insertions, 0 deletions
diff --git a/797/CH2/EX2.3.e/2_03_example.sci b/797/CH2/EX2.3.e/2_03_example.sci
new file mode 100644
index 000000000..d37f45d44
--- /dev/null
+++ b/797/CH2/EX2.3.e/2_03_example.sci
@@ -0,0 +1,8 @@
+//Example 2-3 Variation of Density with Temperature and Pressure
+T_i = 20 //initial temperature of water [degree C]
+P_i = 1 //initial pressure of water [atm]
+T_f = 50 //final temperature of water [degree C]
+P_f = 100 //final pressure of water [atm]
+alpha = 4.8 * 10**-5 //isothermal compressiblity of water [atm^-1]
+rho = 998 //density of water at 20 degree celcius and 1 atm pressure [kg / m^3]
+beta_ = 0.337 * 10**-3 //coefficient of colume expansion at average temperature 35 degree [1 / K]