summaryrefslogtreecommitdiff
path: root/884/CH19/EX19.3
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /884/CH19/EX19.3
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '884/CH19/EX19.3')
-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