summaryrefslogtreecommitdiff
path: root/1427/CH18/EX18.27/18_27.sce
diff options
context:
space:
mode:
Diffstat (limited to '1427/CH18/EX18.27/18_27.sce')
-rw-r--r--1427/CH18/EX18.27/18_27.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1427/CH18/EX18.27/18_27.sce b/1427/CH18/EX18.27/18_27.sce
new file mode 100644
index 000000000..170c55eeb
--- /dev/null
+++ b/1427/CH18/EX18.27/18_27.sce
@@ -0,0 +1,11 @@
+//ques-18.27
+//Finding partial pressure of hydrogen at which free energy change is zero
+clc
+G=-10.1;//free energy change (in kJ/mol)
+T=500;//temperature (in K)
+p1=10;//partial pressure of HI (in atm)
+p2=0.001;//partial pressure of I2 (in atm)
+//On solving, log10(K) = (-G)/(2.303*8.314*T)
+K=11.36;
+p3=(p1/(K*sqrt(p2)))^2;
+printf("The partial pressure of hydrogen is %.0f atm.",p3);