summaryrefslogtreecommitdiff
path: root/1385/CH10/EX10.8/10_8.sce
blob: af1a4405d8569a25bcefb9c42942a0fa5d8a3c51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc
//initialisation of variables
R= 8.31 //J/mol K
T= 25 //C
F= 96500 //coloums
c= 0.08 //molar
c1= 0.04 //molar
//CALCULATIONS
E= R*(T+273)*log(c/c1)/(2*F)
E1= 2*E
//RESULTS
printf (' potential of the cell = %.4f v',E)
printf (' \n potential of the cell = %.4f v',E1)