blob: 9bd8c3d3fe4d1a1919fb5d88c2f5c44571822553 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
//Example 8.2
clear;
clc;
//Given
p=0.35;
Kp=p*10^-24;//equillibrium constant at 300K
P0=1.0;//standard pressure in atm
T=300;//Temperature in K
R=0.082;// gas constant in atm dm^3 mol^-1K^-1
C0=1;//in mol/dm^3
Kp2=0.157;//Kp for reaction in (b)
P=1;//pressure in atm
// (a) To determine Kc1
delv=(2+1)-2;
c=p*((P0/(C0*R*T)))^delv
Kc1=c*10^-24;//equillibrium constant
mprintf('(a) Kc = %f *(10^-24)',c);
//(b) To determine Kc2
delv2=2-1;
Kc2=Kp2*((P0/(C0*R*T)))^delv2;
mprintf('\n (b) Kc = %f',Kc2);
Kx=Kp2*(P0/P);//equillibrium constant
mprintf('\n Kx = %f',Kx)
//end
|