summaryrefslogtreecommitdiff
path: root/3689/CH11/EX11.1/11_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3689/CH11/EX11.1/11_1.sce')
-rw-r--r--3689/CH11/EX11.1/11_1.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3689/CH11/EX11.1/11_1.sce b/3689/CH11/EX11.1/11_1.sce
new file mode 100644
index 000000000..5f8977734
--- /dev/null
+++ b/3689/CH11/EX11.1/11_1.sce
@@ -0,0 +1,13 @@
+////
+//Variable Declaration
+aH = 0.770 //Activity of
+fH2 = 1.13 //Fugacity of Hydrogen gas
+E0 = 0.0 //Std. electrode potential, V
+n = 1.0 //Number of electrons transfered
+
+//Calculations
+E = E0 - (0.05916/n)*log(aH/sqrt(fH2))
+
+//Results
+printf("\n The potential of H+/H2 half cell %5.4f V",E)
+