diff options
Diffstat (limited to '3876/CH8/EX8.4/Ex8_4.sce')
-rw-r--r-- | 3876/CH8/EX8.4/Ex8_4.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/3876/CH8/EX8.4/Ex8_4.sce b/3876/CH8/EX8.4/Ex8_4.sce new file mode 100644 index 000000000..9643c539f --- /dev/null +++ b/3876/CH8/EX8.4/Ex8_4.sce @@ -0,0 +1,20 @@ +//Chapter 8 Chemical Equlibrium + +clc; +clear; + +//Initialisation of Variables +pno2= 0.31 //atm +pn2o2= 0.69 //atm +p= 10 //atm + +//CALCULATIONS +Kp= pno2**2/pn2o2 +x= (-Kp+sqrt(Kp**2+4*4*p*Kp))/(2*4) +p1= p-x +p2= 2*x + +//RESULTS +mprintf("Kp= %.2f",Kp) +mprintf("\nN2O4= %.2f",p1) +mprintf("\nNO2= %.2f",p2) |