summaryrefslogtreecommitdiff
path: root/2471/CH5/EX5.6
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2471/CH5/EX5.6
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 '2471/CH5/EX5.6')
-rwxr-xr-x2471/CH5/EX5.6/Ex5_6.sce35
1 files changed, 35 insertions, 0 deletions
diff --git a/2471/CH5/EX5.6/Ex5_6.sce b/2471/CH5/EX5.6/Ex5_6.sce
new file mode 100755
index 000000000..3aff2922d
--- /dev/null
+++ b/2471/CH5/EX5.6/Ex5_6.sce
@@ -0,0 +1,35 @@
+clear ;
+clc;
+// Example 5.6
+printf('Example 5.6\n\n');
+printf('Page No. 120\n\n');
+
+// given
+x = 0.90;// dryness fraction
+m = 0.25;// Mass flow rate in kg/s
+P = 0.7;// pressure in bar
+T1 = 10;// in degree celcius
+
+//from steam table
+h_10= 42*10^3;// Specific enthalpy of water at 10 degree celcius in J/kg
+h_25 = 105*10^3;// Specific enthalpy of water at 25 degree celcius in J/kg
+h_30 = 126*10^3;// Specific enthalpy of water at 30 degree celcius in J/kg
+h_s = 2432*10^3;// Specific enthalpy of steam in J/kg
+
+//(a)T2 = 25;
+T2 = 25;// in degree celcius
+// By heat balance, heat transfered at 10 degree celcius = heat gained at 25 degree celcius; "(m*h_s)+(h_10*y)= (m*h_25)+(h_25*y)"; where 'y' is the quqntity of water to be used at 25 degree celcius in kg/s
+y = (m*(h_s-h_25)/(h_25-h_10));
+printf('the quantity of water to be used at 25 degree celcius is %.2f kg/s \n',y)
+
+
+//(b)T2 = 30;
+T2 = 30;// in degree celcius
+// By heat balance, heat transfered at 10 degree celcius = heat gained at 30 degree celcius; "(m*h_s)+(h_10*y)= (m*h_30)+(h_30*y)"; where 'z' is the quqntity of water to be used at 30 degree celcius in kg/s
+z = (m*(h_s-h_30)/(h_30-h_10));
+printf('the quantity of water to be used at 30 degree celcius is %.2f kg/s \n',z)
+
+
+
+
+