summaryrefslogtreecommitdiff
path: root/3050/CH6/EX6.11/Ex6_11.sce
blob: 4e6d69d84425a8176078d52c4bb9c0d7593de938 (plain)
1
2
3
4
5
6
7
8
9
10
11
//calculating Ecell and energy
//Example 6.11
clc
clear
Ec=0.4
Ea=-0.87
Ecell=Ec-Ea
F=96500
Wmax=(2*F*Ecell)/1000
printf('Thus (i)Ecell = %2.2f V',Ecell)
printf('\n (ii)Wmax= %3.0f kJ',Wmax)