summaryrefslogtreecommitdiff
path: root/3876/CH10/EX10.5/Ex10_5.sce
blob: 31107e6cdcd1366b29248fb6eadc5662a255aea0 (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
E1= 0.126 //v
E2= -1.360 //v
M= 0.02 //m
M1= 1/0.1 //m
R= 8.31 //J/mol K
T= 25 //C
F= 96500 //coloums

//CALCULATIONS
E= (E1-R*(273+T)*2.3*log10(M)/(2*F))-(E2-R*(273+T)*2.3*log10(M1)/(F))

//RESULTS
mprintf("Oxidation potential of copper electrode = %.3f v",E)