summaryrefslogtreecommitdiff
path: root/926/CH2/EX2.2/Chapter2_Example2.sce
blob: 12db85149c16f8ba38bae500bd0cc32569929b39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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=================================