summaryrefslogtreecommitdiff
path: root/2465/CH10/EX10.12/Example_12.sce
diff options
context:
space:
mode:
Diffstat (limited to '2465/CH10/EX10.12/Example_12.sce')
-rw-r--r--2465/CH10/EX10.12/Example_12.sce30
1 files changed, 30 insertions, 0 deletions
diff --git a/2465/CH10/EX10.12/Example_12.sce b/2465/CH10/EX10.12/Example_12.sce
new file mode 100644
index 000000000..8b2460a55
--- /dev/null
+++ b/2465/CH10/EX10.12/Example_12.sce
@@ -0,0 +1,30 @@
+//Chapter-10,Example 12,Page 255
+clc();
+close();
+
+R=8.316 //gas constant
+
+F=96500 //Farade's constant
+
+n=1
+
+T=298 //temperature in Kelvin
+
+E0_AgCl=-0.2223
+
+E0_Ag=0.798
+
+//cell reaction...Ag + Cl- <----> AgCl
+
+E0_cell =E0_Ag + E0_AgCl
+
+//at equilibrium two electrode potential s will be equal
+// E0_cell = (2.303*R*T/n*F)*log10(K)
+
+Ksp = 10^-(E0_cell*n*F/(2.303*R*T))
+
+printf('for AgCl solution Ksp = ')
+
+disp(Ksp)
+
+printf(' mol^2/l^2')