diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /926/CH3/EX3.3 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-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/CH3/EX3.3')
-rw-r--r-- | 926/CH3/EX3.3/Chapter3_Example3.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/926/CH3/EX3.3/Chapter3_Example3.sce b/926/CH3/EX3.3/Chapter3_Example3.sce new file mode 100644 index 000000000..fea140094 --- /dev/null +++ b/926/CH3/EX3.3/Chapter3_Example3.sce @@ -0,0 +1,26 @@ +//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-3, Illustration 3, Page 54
+//Title: Calculation of pressure
+//=============================================================================
+clear
+clc
+
+//INPUT
+W = 10; //Weight of CO2 in lb
+MW = 44; //Molecular weight of CO2 in lb/lb mole
+P1 = 14.7; //Pressure at standard condition in psi
+T1 = 273; //Temperature at standard conditions in K
+V2 = 20; //Volume of CO2 after compressing in cu ft
+T = 30; //Given temperature in degree C
+
+//CALCULATIONS
+n = W/MW; //No of noles of CO2 in lb mole
+V1 = n*359; //Volume of CO2 at standard conditions in cu ft
+T2 = T+273; //Given temperature in K
+P2 = P1*(V1/V2)*(T2/T1); //Pressure at given conditions in psi
+
+//OUTPUT
+mprintf('\n Pressure required to compress %2.0f lb of CO2 to a volume of %2.0f cu ft at given conditions is %3.1f psi',W,V2,P2);
+
+//=================================END OF PROGRAM==============================
\ No newline at end of file |