summaryrefslogtreecommitdiff
path: root/2141/CH5/EX5.7
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2141/CH5/EX5.7
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 '2141/CH5/EX5.7')
-rwxr-xr-x2141/CH5/EX5.7/Ex5_7.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2141/CH5/EX5.7/Ex5_7.sce b/2141/CH5/EX5.7/Ex5_7.sce
new file mode 100755
index 000000000..59417d6b3
--- /dev/null
+++ b/2141/CH5/EX5.7/Ex5_7.sce
@@ -0,0 +1,19 @@
+
+clc
+//initialisation of variables
+m=125 //lbf/hr
+hi=79.76 //Btu/lbm
+he=103.91 //Btu/lbm
+W=-3412/m //Btu/lbm
+q=W+he-hi//Btu/lbm
+Q=m*q //Btu/hr
+hr=100.34 //Btu/lbm
+hw=23.07//Btu/lbm
+he_r=31.10 //Btu/lbm
+he_w=43.03 //Btu/lbm
+//CALCULATIONS
+Mw=m*(hr-he_r)/(he_w-hw)//lbm/hr
+Qe=m*(he_r-hr)//Btu/hr
+mw=-Qe/(he_w-hw)//Btu/hr
+//RESULTS
+printf('The heat transfer from the compressor per hour=% f Btu/lbm',mw)