summaryrefslogtreecommitdiff
path: root/2495/CH8/EX8.9.7/Ex8_9_7.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2495/CH8/EX8.9.7/Ex8_9_7.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 '2495/CH8/EX8.9.7/Ex8_9_7.sce')
-rw-r--r--2495/CH8/EX8.9.7/Ex8_9_7.sce31
1 files changed, 31 insertions, 0 deletions
diff --git a/2495/CH8/EX8.9.7/Ex8_9_7.sce b/2495/CH8/EX8.9.7/Ex8_9_7.sce
new file mode 100644
index 000000000..6f2788224
--- /dev/null
+++ b/2495/CH8/EX8.9.7/Ex8_9_7.sce
@@ -0,0 +1,31 @@
+clear
+clc
+E_RHE=(0.5335-(-2.363));//reduction reaction at RHE in V
+RT_F=0.05915;//
+E_LHE=((RT_F/2)*log10(0.1*0.2^2));//reduction reaction at LHE in V
+Ecell=E_RHE-E_LHE;//cell reaction in V
+printf('Ecell=%.4f V',Ecell)
+E_RHE=(0.0-0.0713);//reduction reaction at RHE in V
+RT_F=0.05915;//
+E_LHE=((RT_F)*log10((0.5^(1/2))/(0.02*0.02)));//reduction reaction at LHE in V
+Ecell=E_RHE-E_LHE;//cell reaction in V
+printf('\nEcell=%.4f V',Ecell)
+E_RHE=(0.337-(-0.441));//reduction reaction at RHE in V
+RT_F=0.05915;//
+E_LHE=((RT_F/2)*log10(0.05/0.01));//reduction reaction at LHE in V
+Ecell=E_RHE-E_LHE;//cell reaction in V
+printf('\nEcell=%.4f V',Ecell)
+E_RHE=(0.0-0.0);//reduction reaction at RHE in V
+RT_F=0.05915;//
+E_LHE=((RT_F/2)*log10(6.43/0.127));//reduction reaction at LHE in V
+Ecell=E_RHE-E_LHE;//cell reaction in V
+printf('\nEcell=%.4f V',Ecell)
+E_RHE=(-0.763-0.337);//reduction reaction at RHE in V
+RT_F=0.05915;//
+E_LHE=((RT_F/2)*log10((0.1^2)*0.732));//reduction reaction at LHE in V
+Ecell=E_RHE+E_LHE;//cell reaction in V
+printf('\nEcell=%.3f V',Ecell)
+
+//There are some errors in the solution given in textbook
+//page 455
+