summaryrefslogtreecommitdiff
path: root/2465/CH10/EX10.9/Example_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '2465/CH10/EX10.9/Example_9.sce')
-rw-r--r--2465/CH10/EX10.9/Example_9.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/2465/CH10/EX10.9/Example_9.sce b/2465/CH10/EX10.9/Example_9.sce
new file mode 100644
index 000000000..d9ab56f37
--- /dev/null
+++ b/2465/CH10/EX10.9/Example_9.sce
@@ -0,0 +1,25 @@
+//Chapter-10,Example 9,Page 255
+clc();
+close();
+
+E0_Ag = 0.799 //standard potential for copper
+
+Ksp=8.3*10^-17
+
+I=1
+
+Ag= Ksp/I
+
+n= 2
+
+R=8.314 //gas constant
+
+F=96500 //Farade's constant
+
+n=2
+
+T=298 //temperature in Kelvin
+
+E_Ag=E0_Ag+(2.303*R*T/(n*F))*log10(Ag)
+
+printf('the single electrode potential of Ag is %.5f V ',E_Ag)