summaryrefslogtreecommitdiff
path: root/2510/CH22/EX22.6/Ex22_6.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2510/CH22/EX22.6/Ex22_6.sce
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 '2510/CH22/EX22.6/Ex22_6.sce')
-rwxr-xr-x2510/CH22/EX22.6/Ex22_6.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2510/CH22/EX22.6/Ex22_6.sce b/2510/CH22/EX22.6/Ex22_6.sce
new file mode 100755
index 000000000..892d35303
--- /dev/null
+++ b/2510/CH22/EX22.6/Ex22_6.sce
@@ -0,0 +1,20 @@
+ //Variable declaration:
+//From steam tables:
+h1 = 1572 //Enthalpy for super heated steam at (P = 40 atm, T = 1000 F) (Btu/lb)
+h2 = 1316 //Enthalpy for super heated steam at (P = 20 atm, T = 600 F) (Btu/lb)
+h3 = 1151 //Enthalpy for saturated steam (Btu/lb)
+h4 = 28.1 //Enthalpy for saturated water (Btu/lb)
+m1 = 1000 //Mass flowrate of steam (lb/h)
+syms m //Mass flow rate of steam (lb/h)
+
+//Calculation:
+Dh1 = m1*(h3-h4) //The change in enthalpy for the vaporization of the water stream (Btu/h)
+Dh2 = m*(h1-h2) //The change in enthalpy for the cooling of the water stream (Btu/h)
+x = eval(solve(Dh1-Dh2,m)) //Mass flowrate of steam (lb/h)
+m2 = x; //Mass flowrate of steam (lb/h)
+
+//Result:
+disp("The mass flowrate of the utility steam required is : ")
+disp(m2)
+disp(" lb/h.")
+