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

clc;
clear;

//Initialisation of Variables
E= 0.763 //v
R= 8.31 //J/mol K
T= 25 //C
F= 96500 //coloums
M= 0.1 //m
M1= 0.01 //m

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

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