summaryrefslogtreecommitdiff
path: root/884/CH19/EX19.3/Example19_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '884/CH19/EX19.3/Example19_3.sce')
-rwxr-xr-x884/CH19/EX19.3/Example19_3.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/884/CH19/EX19.3/Example19_3.sce b/884/CH19/EX19.3/Example19_3.sce
new file mode 100755
index 000000000..d61d9a19d
--- /dev/null
+++ b/884/CH19/EX19.3/Example19_3.sce
@@ -0,0 +1,15 @@
+//computation of standard emf of a cell
+
+clear;
+clc;
+
+printf("\t Example 19.3\n");
+
+E0cathode=0.8;//standard electrode potential of cathode(Ag+/Ag), V
+E0anode=-2.37;//standard electrode potential of anode(Mg2+/Mg), V
+
+E0cell=E0cathode-E0anode;//standard emf of the cell, V
+
+printf("\t the standard emf of the cell is : %4.2f V\n",E0cell);
+
+//End