summaryrefslogtreecommitdiff
path: root/2705/CH4/EX4.17
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2705/CH4/EX4.17
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2705/CH4/EX4.17')
-rwxr-xr-x2705/CH4/EX4.17/Ex4_17.sce52
1 files changed, 52 insertions, 0 deletions
diff --git a/2705/CH4/EX4.17/Ex4_17.sce b/2705/CH4/EX4.17/Ex4_17.sce
new file mode 100755
index 000000000..b85b38646
--- /dev/null
+++ b/2705/CH4/EX4.17/Ex4_17.sce
@@ -0,0 +1,52 @@
+clear;
+clc;
+disp('Example 4.17');
+
+// aim : To determine the
+// (a) mass of steam in the vessel
+// (b) final dryness of the steam
+// (c) amount of heat transferrred during the cooling process
+
+// Given values
+V1 = .8;// [m^3]
+P1 = 360;// [kN/m^2]
+P2 = 200;// [kN/m^2]
+
+// solution
+
+// (a)
+// at 360 kN/m^2
+vg1 = .510;// [m^3]
+m = V1/vg1;// mass of steam,[kg]
+mprintf('\n (a) The mass of steam in the vessel is = %f kg\n',m);
+
+// (b)
+// at 200 kN/m^2
+vg2 = .885;// [m^3/kg]
+// the volume remains constant so
+x = vg1/vg2;// final dryness fraction
+mprintf('\n (b) The final dryness fraction of the steam is = %f \n',x);
+
+// (c)
+// at 360 kN/m^2
+h1 = 2732.9;// [kJ/kg]
+// hence
+u1 = h1-P1*vg1;// [kJ/kg]
+
+// at 200 kN/m^2
+hf = 504.7;// [kJ/kg]
+hfg=2201.6;//[kJ/kg]
+// hence
+h2 = hf+x*hfg;// [kJ/kg]
+// now
+u2 = h2-P2*vg1;// [kJ/kg]
+// so
+del_u = u2-u1;// [kJ/kg]
+// from the first law of thermodynamics del_U+W=Q,
+W = 0;// because volume is constant
+del_U = m*del_u;// [kJ]
+// hence
+Q = del_U;// [kJ]
+mprintf('\n (c) The amount of heat transferred during cooling process is = %f kJ \n',Q);
+
+// End