summaryrefslogtreecommitdiff
path: root/3718/CH6/EX6.13/Ex6_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '3718/CH6/EX6.13/Ex6_13.sce')
-rw-r--r--3718/CH6/EX6.13/Ex6_13.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3718/CH6/EX6.13/Ex6_13.sce b/3718/CH6/EX6.13/Ex6_13.sce
new file mode 100644
index 000000000..95542167f
--- /dev/null
+++ b/3718/CH6/EX6.13/Ex6_13.sce
@@ -0,0 +1,16 @@
+//Chapter 6: Electrochemistry
+//Problem: 13
+clc;
+
+//Declaration of Variables
+EoSn = 0.15 // V
+EoCr = - 0.74 // V
+
+// Solution
+mprintf("3Sn+4 + 2Cr --> 3Sn+2 + 2Cr+3\n")
+
+Eo_cell = EoSn - EoCr
+n = 6
+K = 10 ** (n * Eo_cell / 0.0591)
+
+mprintf(" The equillibrium constant for th reaction is %.2e ",K)