summaryrefslogtreecommitdiff
path: root/926/CH2/EX2.2/Chapter2_Example2.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /926/CH2/EX2.2/Chapter2_Example2.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/CH2/EX2.2/Chapter2_Example2.sce')
-rw-r--r--926/CH2/EX2.2/Chapter2_Example2.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/926/CH2/EX2.2/Chapter2_Example2.sce b/926/CH2/EX2.2/Chapter2_Example2.sce
new file mode 100644
index 000000000..12db85149
--- /dev/null
+++ b/926/CH2/EX2.2/Chapter2_Example2.sce
@@ -0,0 +1,20 @@
+//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-2, Illustration 2, Page 31
+//Title: Calculating mass from given volume at standard conditions
+//=============================================================================
+clear
+clc
+
+//INPUT
+v = 500; //Volume of gaseous propane in liters
+mw = 44.06; //Molecular weight of propane in g/g mole
+
+//CAlCULATION
+n = v/22.4; //To find the no of moles of propane in g mole
+m = n*mw; //To calculate the weight of propane in grams
+
+//OUTPUT
+mprintf('\n Weight of liquid propane formed after liquification = %3.0f grams',m);
+
+//==============================END OF PROGRAM=================================