summaryrefslogtreecommitdiff
path: root/3557/CH19/EX19.8/Ex19_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3557/CH19/EX19.8/Ex19_8.sce')
-rw-r--r--3557/CH19/EX19.8/Ex19_8.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3557/CH19/EX19.8/Ex19_8.sce b/3557/CH19/EX19.8/Ex19_8.sce
new file mode 100644
index 000000000..2f1d455b1
--- /dev/null
+++ b/3557/CH19/EX19.8/Ex19_8.sce
@@ -0,0 +1,12 @@
+//Example 19.8//
+
+b=0.09;//V //constant equal to slope of the electrochemical potential plot
+i=1;//A/m^2 //corresponding current density
+i0=10^-3// A/m^2 //standard state current density
+n=b*log10(i/i0)
+mprintf("n = %f V",n)
+
+//Giving an electrochemical potential at 1A/m^2 of
+a=(-0.763);//V //standard state potential for the zinci half cell
+V=a+n
+mprintf("\nV = %f V",V)