summaryrefslogtreecommitdiff
path: root/1388/CH7/EX7.29/7_29.sce
blob: 586cb14abc89d6501d9c8ee19850f08df705878b (plain)
1
2
3
4
5
6
7
8
9
10
clc
//initialisation of variables
c= 10^-7
c1= 1
f= 1
k= -0.05915 //j/mol
//CALCULATIONS
E= (k/f)*log10(c/c1)
//RESULTS
printf (' cell potential = %.5f volt',E)