summaryrefslogtreecommitdiff
path: root/944/CH4/EX4.2/example4_2_TACC.sce
diff options
context:
space:
mode:
Diffstat (limited to '944/CH4/EX4.2/example4_2_TACC.sce')
-rwxr-xr-x944/CH4/EX4.2/example4_2_TACC.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/944/CH4/EX4.2/example4_2_TACC.sce b/944/CH4/EX4.2/example4_2_TACC.sce
new file mode 100755
index 000000000..c2fcb8bc6
--- /dev/null
+++ b/944/CH4/EX4.2/example4_2_TACC.sce
@@ -0,0 +1,16 @@
+//example 4.2
+
+clear;
+clc;
+
+//Given:
+Vl=0.0177;//specific volume of saturated liquid[m3/Kg]
+Vg=4.43;//specific volume of saturated vapour[m3/Kg]
+P=7;//pressure[atm]
+T=438;//temperature[K]
+x=0.6;//fraction of vapour phase
+M=2.5;//mass of the substance[Kg]
+
+//to find the total volume occupied by the mixture
+V=[(1-x)*Vl+x*Vg]*M;//total volume occupied [m3]
+printf("Total volume occupied =%f m3", V)