From f35ea80659b6a49d1bb2ce1d7d002583f3f40947 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:38:01 +0530 Subject: updated the code --- 1388/CH7/EX7.26/7_26.sce | 24 ++++++++++++------------ 1388/CH7/EX7.27/7_27.sce | 24 ++++++++++++------------ 2 files changed, 24 insertions(+), 24 deletions(-) (limited to '1388/CH7') 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 -- cgit