summaryrefslogtreecommitdiff
path: root/1439/CH2/EX2.2/2_2.sce
blob: 912658c32afc03abf96591002c18a0f475190b95 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc 
//initialisation of variables
G= 0.110 //gram
R= 0.08205 //l-atm /mole K
T= 26.1 //C
P= 743 //mm
V= 0.0270 //l
//CALCULATIONS
M= G*R*(273.15+T)*760/(P*V)
//RESULTS
printf ('molecular weight of hydrocarbon= %.f g mole^-1',M)