blob: 4478f2f3ce15b068d7c461a5c492b357a8115706 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
clc
//initialization of variables
//For first reaction
D1 = 9.3*10^-5 // cm^2/sec
D2 = 5.3*10^-5 // cm^2/sec
K1exp = 1.4*10^11 // litre/mol-sec
sigma12 = 2.8*10^-8 // cm
N = (6.02*10^23)/10^3// liter/cc-mol
K1 = 4*%pi*(D1+D2)*sigma12*N // Rate constant for first reaction in litre/mol-sec
printf("The rate constant for this reaction is %.1e litre/",K1)
if K1>K1exp
then disp("This reaction is controlled more by chemical factors")
else
disp("This reaction is diffusion controlled")
end
//Second reaction
D1 = 5.3*10^-5 // cm^2/sec
D2 = 0.8*10^-5 // cm^2/sec
sigma12 = 5*10^-8 // cm
K1exp = 3.8*10^7 // litre/mol-sec
K1 = 4*%pi*(D1+D2)*sigma12*N // Rate constant for second reaction in litre/mol-sec
printf("The rate constant for this reaction is %.1e litre/mol-sec",K1)
if K1>K1exp then
disp("This reaction is controlled more by chemical factors")
else
disp("The reaction is diffusion controlled")
end
|