summaryrefslogtreecommitdiff
path: root/3718/CH6/EX6.8/Ex6_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3718/CH6/EX6.8/Ex6_8.sce')
-rw-r--r--3718/CH6/EX6.8/Ex6_8.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3718/CH6/EX6.8/Ex6_8.sce b/3718/CH6/EX6.8/Ex6_8.sce
new file mode 100644
index 000000000..dd5aa771e
--- /dev/null
+++ b/3718/CH6/EX6.8/Ex6_8.sce
@@ -0,0 +1,21 @@
+//Chapter 6: Electrochemistry
+//Problem: 8
+clc;
+
+//Declaration of Constant
+F = 96500 //in C per mol
+
+//Declaration of Variables
+E1o = - 2.48 //in V
+E2o = 1.61 //in V
+
+// Solution
+delta_G1 = - 3 * F * (- 2.48)
+delta_G2 = - 1 * F * 1.61
+
+mprintf("delta_G3 = delta_G1 + delta_G2\n")
+mprintf(" delta_G3 = - 4 * F * E3o\n")
+
+E3o = (delta_G1 + delta_G2) / (- 4 * F)
+
+mprintf(" The reduction potential for the half-cell Pt/Ce, Ce+4 is %.4f V",E3o)