summaryrefslogtreecommitdiff
path: root/3428/CH15/EX9.15.2/Ex9_15_2.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3428/CH15/EX9.15.2/Ex9_15_2.sce
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 '3428/CH15/EX9.15.2/Ex9_15_2.sce')
-rw-r--r--3428/CH15/EX9.15.2/Ex9_15_2.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3428/CH15/EX9.15.2/Ex9_15_2.sce b/3428/CH15/EX9.15.2/Ex9_15_2.sce
new file mode 100644
index 000000000..6937c8b8b
--- /dev/null
+++ b/3428/CH15/EX9.15.2/Ex9_15_2.sce
@@ -0,0 +1,9 @@
+//Section-9,Example-2,Page no.-E.5
+//To calculate the potential of electrochemical cell at 25 degree celcius.
+clc;
+E0_cell=-0.34
+C_Cu=0.50 //concentration(Cu/Cu_2+)
+P_H2=0.95 //pressure(H+/H_2)
+H=0.01 //concentration(H+/H_2)
+E_cell=E0_cell-((0.0591/2)*log10((C_Cu*P_H2)/H^2))
+disp(E_cell,'Potential of cell(V)')