summaryrefslogtreecommitdiff
path: root/1427/CH6/EX6.5/6_5.sce
blob: 731172c20bfaf82913f63b4d2db98e5dc60d61e5 (plain)
1
2
3
4
5
6
7
//ques-6.5
//Finding emf of a given cell reaction
clc
e1=-0.76;//emf for Zn(2+)/Zn (in V)
e2=0.34;//emf for Cu(2+)/Cu (in V)
E=e2-e1;
printf("The emf of the given cell is %.1f V.",E);