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 /2141/CH5/EX5.7 | |
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 '2141/CH5/EX5.7')
-rwxr-xr-x | 2141/CH5/EX5.7/Ex5_7.sce | 19 |
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)
|