summaryrefslogtreecommitdiff
path: root/926/CH2/EX2.1/Chapter2_Example1.sce
blob: 47c5fb729b41f062c61c436eb0b4e955f3b3e8fd (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 1, Page 30
//Title: Calculating volume of gas at standard conditions from given weight
//=============================================================================
clear
clc

//INPUT
w = 25; //Weight of liquid chlorine in lb
mw = 70.92; //molecular weight of chlorine gas in lb/lb mol

//CALCULATION
n = w/mw; //To find no of moles of chlorine gas in lb mol
v = n*359; //To compute volume of chlorine gas in cu ft at standard conditions

//OUTPUT
mprintf('\n The volume of chlorine gas that will be occupied at standard conditions = %4.1f cu ft',v);

//======================END OF PROGRAM=========================================