summaryrefslogtreecommitdiff
path: root/1427/CH15/EX15.8/15_8.sce
blob: d034d030a2aad3d081340e51bb88d579c1019350 (plain)
1
2
3
4
5
6
7
//ques-15.8
//Calculating equilibrium constant for a reaction
clc
P=1;//pressure (in atm)
x=20/100;//degree of dissociation
Kp=(4*P*x^2)/(1-x^2);//equilibrium constant
printf("Equilibrium constant required is %.4f atm.",Kp);