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 /2870/CH3/EX3.5/Ex3_5.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 '2870/CH3/EX3.5/Ex3_5.sce')
-rwxr-xr-x | 2870/CH3/EX3.5/Ex3_5.sce | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/2870/CH3/EX3.5/Ex3_5.sce b/2870/CH3/EX3.5/Ex3_5.sce new file mode 100755 index 000000000..23119f65e --- /dev/null +++ b/2870/CH3/EX3.5/Ex3_5.sce @@ -0,0 +1,27 @@ +clc;clear;
+//Example 3.5
+
+//given values
+m=4;
+V=80/1000;//converting into m^3
+P=160;
+
+//Values from Table A-12
+vf=0.0007437;
+vg=0.12348;
+T=-15.60;
+hf=31.21;
+hfg=209.90;
+
+//caluclation
+v=V/m;
+//vg>v>vf therefore it is a saturated mix
+//hence temp will same as saturation temp
+disp(T,'the temperature in celcius')
+x=(v-vf)/(vg-vf);//x=vg/vfg i.e the dryness fraction
+disp(x,'the quality');
+h=hf+x*hfg;
+disp(h,'the enthalpy of the refrigerant in kJ/kg');
+mg=x*m;
+Vg=mg*vg;
+disp(Vg,'the volume occupied by the vapor phase in m^3')
|