summaryrefslogtreecommitdiff
path: root/3876/CH10/EX10.8/Ex10_8.sce
blob: 597eadb0ca0c5b7e7c078860fad6aa65537deb8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//Chapter 10 Electmotive Force

clc;
clear;

//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
mprintf("Potential of the cell = %.3f v",E)
mprintf("\nPotential of the cell = %.3f v",E1)