summaryrefslogtreecommitdiff
path: root/3876/CH10/EX10.3/Ex10_3.sce
blob: 81d074e0484bacea237434e9e39127045f7c7952 (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.771 //v
R= 8.31 //J/mol K
T= 25 //C
F= 96500 //coloums
M= 0.02 //m
M1= 0.1 //m

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

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