summaryrefslogtreecommitdiff
path: root/1427/CH15/EX15.6/15_6.sce
blob: cb6934be74f941c16597af670d55d569f17bc208 (plain)
1
2
3
4
5
6
7
//ques-15.6
//Calculating pressure
clc
Kp=1.06*10^-2;//equilibrium constant (in atm)
x=1/100;//degree of dissociation
P=(Kp*(1-x^2))/(4*x^2);//pressure
printf("Pressure required is %.2f atm.",P);