diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /172/CH3/EX3.4/ex4.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '172/CH3/EX3.4/ex4.sce')
-rwxr-xr-x | 172/CH3/EX3.4/ex4.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/172/CH3/EX3.4/ex4.sce b/172/CH3/EX3.4/ex4.sce new file mode 100755 index 000000000..3ecbb5a5c --- /dev/null +++ b/172/CH3/EX3.4/ex4.sce @@ -0,0 +1,13 @@ + //example 4
+//percentage of vapor
+clear
+clc
+vliq=0.1 //volume of saturated liquid in m^3
+vf=0.000843 //in m^3/kg
+vvap=0.9 //volume of saturated vapor R-134a in equilbrium
+vg=0.02671 //in m^3/kg
+mliq=vliq/vf //mass of liquid in kg
+mvap=vvap/vg //mass of vapor in kg
+m=mliq+mvap //total mass in kg
+x=mvap/m //percentage of vapor on mass basis
+disp('hence,% vapor on mass basis is 22.1')
\ No newline at end of file |