summaryrefslogtreecommitdiff
path: root/3012/CH14/EX14.3/Ex14_3.sce
blob: 4eec016b64c4322ad45a3c0dae0aed607dc5e656 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

// Given:-
yCO = 0.298
p = 1                                                                           // in atm
pref = 1                                                                        // in atm
// With this value of K, table A-27 gives
T = 2881

// Calculations
// Solving yCO = 2z/(2 + z)
z = 2*yCO/(2 - yCO)
K = (z/(1-z))*(z/(2 + z))**.5*(p/pref)**.5

// Result
printf( ' The temperature T of the mixture in kelvin is:  %f',T);