summaryrefslogtreecommitdiff
path: root/1427/CH15/EX15.12/15_12.sce
blob: f5792cdd66ce94dec234493145c625577f5e0433 (plain)
1
2
3
4
5
6
7
8
9
10
//ques-15.12
//Calculating both equilibrium constants
clc
P=1;//pressure (in atm)
x=80/100;//degree of dissociation
T=523;//temperture (in K)
R=0.0831;//L-atm/K/mole
Kp=(P*x^2)/(1-x^2);
Kc=Kp/(R*T);
printf("The value of Kp and Kc are %.4f atm and %.4f mole/L respectively.",Kp,Kc);