summaryrefslogtreecommitdiff
path: root/3876/CH16/EX16.3/Ex16_3.sce
blob: 3198503b3294fb9ec527a703d6dbcc0d13451e7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Chapter 16 Oxidation Reduction Potentials

clc;
clear;

//Initialisation of Variables
p= 60 //percent
x= 0.030 //v
E= -0.039 //v

//CALCULATIONS
V= E-x*log10((1-(p/100))/(p/100))

//RESULTS
mprintf("Redox potential of sample= %.3f v",V)