summaryrefslogtreecommitdiff
path: root/3689/CH9/EX9.8/9_8.sce
blob: fa28a34ed51b7e64a9b919963049669885da57b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
////Variable Declaration
xCS2 = 0.3502   //Mol fraction of CS2, g/L
pCS2 = 358.3    //Partial pressure of CS2, torr
p0CS2 = 512.3   //Total pressure, torr

//Calculations
alpha = pCS2/p0CS2
gama = alpha/xCS2

//Results
printf("\n Activity of CS2 %5.4f atm",alpha)

printf("\n Activity coefficient of CS2 %5.4f atm",gama)