summaryrefslogtreecommitdiff
path: root/1388/CH7
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /1388/CH7
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '1388/CH7')
-rwxr-xr-x1388/CH7/EX7.26/7_26.sce24
-rwxr-xr-x1388/CH7/EX7.27/7_27.sce24
2 files changed, 24 insertions, 24 deletions
diff --git a/1388/CH7/EX7.26/7_26.sce b/1388/CH7/EX7.26/7_26.sce
index 20d897cc6..79e770100 100755
--- a/1388/CH7/EX7.26/7_26.sce
+++ b/1388/CH7/EX7.26/7_26.sce
@@ -1,12 +1,12 @@
-clc
-//initialisation of variables
-e= 0
-e1= -0.37
-k= -0.05916 //j/mol
-a= 0.02
-a1- 0.01
-p= 730 //mm of Hg
-//CALCULATIONS
-E= (e-e1)-k*log10(a*sqrt(p/760)/(a1*a))
-//RESULTS
-printf (' cell potential = %.2f volt',E-0.03)
+clc
+//initialisation of variables
+e= 0
+e1= -0.37
+k= -0.05916 //j/mol
+a= 0.02
+a1= 0.01
+p= 730 //mm of Hg
+//CALCULATIONS
+E= (e-e1)-k*log10(a*sqrt(p/760)/(a1*a))
+//RESULTS
+printf (' cell potential = %.2f volt',E-0.03) \ No newline at end of file
diff --git a/1388/CH7/EX7.27/7_27.sce b/1388/CH7/EX7.27/7_27.sce
index a349dff62..036915c34 100755
--- a/1388/CH7/EX7.27/7_27.sce
+++ b/1388/CH7/EX7.27/7_27.sce
@@ -1,12 +1,12 @@
-clc
-//initialisation of variables
-e= 0 //ev
-e1= -0.37 //ev
-k= -0.05916 //j/mol
-a= 0.02
-a1- 0.01
-p= 730 //mm of Hg
-//CALCULATIONS
-E= (e-e1)-k*log10(a*sqrt(p/760)/(a1*a))
-//RESULTS
-printf (' cell potential = %.2f volt',E-0.03)
+clc
+//initialisation of variables
+e= 0 //ev
+e1= -0.37 //ev
+k= -0.05916 //j/mol
+a= 0.02
+a1= 0.01
+p= 730 //mm of Hg
+//CALCULATIONS
+E= (e-e1)-k*log10(a*sqrt(p/760)/(a1*a))
+//RESULTS
+printf (' cell potential = %.2f volt',E-0.03) \ No newline at end of file