summaryrefslogtreecommitdiff
path: root/926/CH5/EX5.9/Chapter5_Example9.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /926/CH5/EX5.9/Chapter5_Example9.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '926/CH5/EX5.9/Chapter5_Example9.sce')
-rw-r--r--926/CH5/EX5.9/Chapter5_Example9.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/926/CH5/EX5.9/Chapter5_Example9.sce b/926/CH5/EX5.9/Chapter5_Example9.sce
new file mode 100644
index 000000000..b6ddb4c9d
--- /dev/null
+++ b/926/CH5/EX5.9/Chapter5_Example9.sce
@@ -0,0 +1,27 @@
+//Hougen O.A., Watson K.M., Ragatz R.A., 2004. Chemical process principles Part-1: Material and Energy Balances(II Edition). CBS Publishers & Distributors, New Delhi, pp 504
+
+//Chapter-5, Illustration 9, Page 124
+//Title: Estimation of dry bulb and wet bulb temperature
+//=============================================================================
+clear
+clc
+
+//INPUT
+m = [12.1 0.1 7.6 80.2]; //Composition of CO2, CO, O2, N2 in percentage
+
+//DATA FROM GRAPH
+//Part(a)
+T1 = 87; //Wet bulb temperature obtained from Fig 19, Page 120 & Fig 20, 122
+//Part(b)
+T2 = 140; //Dry bulb temperature obtained from Fig 19, Page 120 & Fig 20, 122
+
+//OUTPUT
+// Console output
+mprintf('\n (a) Wet bulb temperature = %2.0f degree F \n (b) Dry bulb temperature = %3.0f degree F',T1,T2);
+
+// File output
+fd= mopen('.\Chapter5_Example9_Output.txt','w');
+mfprintf(fd,'\n (a) Wet bulb temperature = %2.0f degree F \n (b) Dry bulb temperature = %3.0f degree F',T1,T2);
+mclose(fd);
+
+//=========================END OF PROGRAM======================================