summaryrefslogtreecommitdiff
path: root/2495/CH8/EX8.23.1/Ex8_23_1.sce
blob: 1f28ef5e2e0bad96c5cae7d9a501a183aedfe63e (plain)
1
2
3
4
5
6
7
8
9
10
clear 
clc
E1=-0.277;//in V
E2=-0.744;//in V
Ecell_1=(E2-E1);//in V
printf('Ecell_1=%.3f V',Ecell_1)
Ecell_2=(E1-E2);//in V
printf('\nEcell_2=%.3f V',Ecell_2)

//page 539