summaryrefslogtreecommitdiff
path: root/3718/CH6/EX6.6/Ex6_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '3718/CH6/EX6.6/Ex6_6.sce')
-rw-r--r--3718/CH6/EX6.6/Ex6_6.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3718/CH6/EX6.6/Ex6_6.sce b/3718/CH6/EX6.6/Ex6_6.sce
new file mode 100644
index 000000000..c0acffd39
--- /dev/null
+++ b/3718/CH6/EX6.6/Ex6_6.sce
@@ -0,0 +1,18 @@
+//Chapter 6: Electrochemistry
+//Problem: 6
+clc;
+
+//Declaration of Constant
+F = 96500 // C / mol
+
+//Declaration of Variables
+n = 2
+T = 25 // C
+Eo_Ag = 0.80 // Ag+ / Ag
+Eo_Ni = - 0.24 // Ni+2 / Ni
+
+// Solution
+Eo_Cell = Eo_Ag - Eo_Ni
+delta_Go = - n * F * Eo_Cell
+
+mprintf("Standard free energy change %d J / mol",delta_Go)