summaryrefslogtreecommitdiff
path: root/3557/CH19/EX19.6/Ex19_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3557/CH19/EX19.6/Ex19_6.sce')
-rw-r--r--3557/CH19/EX19.6/Ex19_6.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3557/CH19/EX19.6/Ex19_6.sce b/3557/CH19/EX19.6/Ex19_6.sce
new file mode 100644
index 000000000..409a90ab9
--- /dev/null
+++ b/3557/CH19/EX19.6/Ex19_6.sce
@@ -0,0 +1,12 @@
+//Example 19.6//
+
+a=0.000;//V //volt //standard state potential for the hydrogen half cell
+b=(-0.763);//V //volt //standard state potential for the zinci half cell
+V0=a-b
+mprintf("V0 = %f V",V0)
+n=2;//As two electrons are transferred per Zn atom
+V=0.45;//V //Cell voltage
+c=(-0.059);//From the formula
+pH=((V-V0)*n)/(c*n)
+mprintf("\npH = %f ",pH)
+