diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1385/CH10/EX10.6 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1385/CH10/EX10.6')
-rwxr-xr-x | 1385/CH10/EX10.6/10_6.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1385/CH10/EX10.6/10_6.sce b/1385/CH10/EX10.6/10_6.sce new file mode 100755 index 000000000..49dce44c4 --- /dev/null +++ b/1385/CH10/EX10.6/10_6.sce @@ -0,0 +1,14 @@ +clc
+//initialisation of variables
+E1= 0.763 //v
+c= 0.1 //mol/lit
+c1= 0.01 //mol/lit
+R= 8.31 //J/mol K
+T= 25 //C
+F= 96500 //coloums
+c2= 1 //molar
+c3= 1 //molar
+//CALCULATIONS
+E= E1-(log10(c*c2/(c1^2*c3))*R*(273+T)*2.3/(2*F))
+//RESULTS
+printf (' potential of the cell = %.3f v',E)
|