blob: 5eca45dfa9f766188a4e263b18e404a7cd4d22a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//computation of component pressure from equilibrium constant
clear;
clc;
printf("\t Example 14.3\n");
PCl3=0.463;//equilibrium pressure of PCl3, atm
PCl5=0.875;//equilibrium pressure of PCl5, atm
Kp=1.05;//equilibrium constant of the reaction
Cl2=Kp*PCl5/PCl3;//equilibrium pressure of Cl2 in atm, formula from the definition of equilibrium constant
printf("\t the value of the equilibrium pressure of the Cl2 gas is : %4.2f atm\n",Cl2);
//End
|