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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
|
{
"metadata": {
"name": "",
"signature": "sha256:426928f27add269a4fb950a40e7b077ed56eb54390661454909c07f1497ce752"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter 19: Complex Reaction Mechanism "
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example Problem: 19.1, Page Number 501"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import numpy as np\n",
"from numpy import arange,array,ones,linalg\n",
"from pylab import plot,show\n",
"#Variable declaration\n",
"Ce = 2.3e-9 #Initial value of enzyme concentration, M\n",
"r = array([2.78e-5,5.e-5,8.33e-5,1.67e-4])\n",
"CCO2 = array([1.25e-3,2.5e-3,5.e-3,20.e-3])\n",
"\n",
"#Calculations\n",
"rinv = 1./r\n",
"CCO2inv = 1./CCO2\n",
"xlim(0,850)\n",
"ylim(0,38000)\n",
"xi = CCO2inv\n",
"A = array([ CCO2inv, ones(size(CCO2inv))])\n",
"# linearly generated sequence\n",
"w = linalg.lstsq(A.T,rinv)[0] # obtaining the parameters\n",
"slope = w[0]\n",
"intercept = w[1]\n",
"\n",
"line = w[0]*CCO2inv+w[1] # regression line\n",
"plot(CCO2inv,line,'r-',CCO2inv,rinv,'o')\n",
"show()\n",
"rmax = 1./intercept\n",
"k2 = rmax/Ce\n",
"Km = slope*rmax\n",
"\n",
"#Results\n",
"print 'Km and k2 are %4.1f mM and %3.1e s-1'%(Km*1e3,k2)"
],
"language": "python",
"metadata": {},
"outputs": [
{
"metadata": {},
"output_type": "display_data",
"png": "iVBORw0KGgoAAAANSUhEUgAAAX8AAAD7CAYAAACCEpQdAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzt3X+cVmWd//HXW36auprW4s+ECBOMQsmwLBxTEZfCH+sq\nlsYmayYKiGmC1ZfJ1U3LUsCkMit/rHy1/Kq4YwiyzuJqMCKgwEACCgEKJAlSCjLw+f5xHegWx5kB\nZubcM/f7+XjMY665zjlzf84wfO5rPuc611FEYGZmpWWvvAMwM7Pm5+RvZlaCnPzNzEqQk7+ZWQly\n8jczK0FO/mZmJaht3gE0lCTPSTUz20URodr6W9TIPyKK8mPMmDG5x9ASYyv2+Io5tmKPz7EVR3x1\naVHJ38zMGoeTv5lZCXLybwRlZWV5h/C+ijk2KO74ijk2KO74HNvua674VF9dqFhIipYSq5lZMZBE\ntIYLvmZm1jic/M3MSpCTv5lZCWoxN3mZmbVmFRXTGTduCps3t6VDhxqGD+/HgAF9m+z1nPzNzHJW\nUTGdESOeYOnSG3f0LV36HYAmewNw2cfML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f5/6zK3ABfy/5\nbI8j7/gWASdI2jv7v3sqUE0eP7vmuOiyhxdIziBdIFkCjM7h9SeSanPvkK4/fJ100eZJ4CVgCnBA\nwf7XZbEuAk5vhvg+T6pZzyUl1jmkpbFzjxHoCczOYnsRuCbrzz22neI8ib/P9imK2Eh19bnZx/zt\nv/tFFN+nSBfwXyCNXvcvltiy19sHeB3Yr6CvKOIDvk16s5xHmjXVLo/YfJOXmVkJKvayj5mZNQEn\nfzOzEuTkb2ZWgpz8zcxKkJO/mVkJcvI3MytBTv5mZiXIyd/MrAT9fyHy2zHrMxKhAAAAAElFTkSu\nQmCC\n",
"text": [
"<matplotlib.figure.Figure at 0x8d31770>"
]
},
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Km and k2 are 10.0 mM and 1.1e+05 s-1\n"
]
}
],
"prompt_number": 13
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example Problem: 19.2, Page Number 507"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from numpy import arange,array,ones,linalg\n",
"from pylab import plot,show\n",
"\n",
"#Variable declaration\n",
"Vads = array([5.98,7.76,10.1,12.35,16.45,18.05,19.72,21.1]) #Adsorption data at 193.5K\n",
"P = array([2.45,3.5,5.2,7.2,11.2,12.8,14.6,16.1]) #Pressure, torr\n",
"\n",
"#Calculations\n",
"Vinv = 1./Vads\n",
"Pinv =1./P\n",
"xlim(0,0.5)\n",
"ylim(0,0.2)\n",
"A = array([ Pinv, ones(size(Pinv))])\n",
"# linearly generated sequence\n",
"w = linalg.lstsq(A.T,Vinv)[0] # obtaining the parameters\n",
"m = w[0]\n",
"c = w[1]\n",
"line = m*Pinv+c # regression line\n",
"plot(Pinv,line,'r-',Pinv,Vinv,'o')\n",
"show()\n",
"Vm = 1./c\n",
"K = 1./(m*Vm)\n",
"\n",
"#Results\n",
"print 'Slope and intercept are %5.4f torr.g/cm3 and %5.4f g/cm3'%(m,c)\n",
"print 'K and Vm are %4.2e Torr^-1 and %3.1f cm3/g'%(K,Vm)"
],
"language": "python",
"metadata": {},
"outputs": [
{
"metadata": {},
"output_type": "display_data",
"png": "iVBORw0KGgoAAAANSUhEUgAAAX0AAAEACAYAAABfxaZOAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAGaFJREFUeJzt3Xt4VdWZx/Hva9BEaB1bx6mWYrEUi4jWS0WlihkVkhKv\n1RlFqjOKt1aSqGgtogIzUnWqPgqOSjteWp86OE/HsYwRuVRTxKEWLDeRqMTiBZXiFYQmEvLOH+sI\nISY5J5ez9zln/z7Pk8ecfTm8LA+/7Ky99lrm7oiISDLsEncBIiISHYW+iEiCKPRFRBJEoS8ikiAK\nfRGRBFHoi4gkSNrQN7NyM6szs1fN7No29o8xs+VmtsLMnjOzQzI9V0REomUdjdM3syLgZeAkYB2w\nGBjt7qtbHHMM8JK7f2xm5cBkdz86k3NFRCRa6a70hwJr3H2tu28FZgKntTzA3Re5+8epl88DX8v0\nXBERiVa60O8LvNni9Vupbe0ZCzzZxXNFRCTLeqXZn/EcDWb298CFwHc7e66IiEQjXeivA/q1eN2P\ncMW+k9TN218A5e7+YSfP1Q8HEZEucHfr7DnpuneWAAPNrL+Z7QacDcxqeYCZ7Qc8BvzA3dd05twW\nhevLnUmTJsVeQ658qS3UFmqLjr+6qsMrfXdvMrNxwBygCLjf3Veb2aWp/TOAG4EvAfeaGcBWdx/a\n3rldrlRERLotXfcO7j4bmN1q24wW318EXJTpuSIiEh89kZtDSktL4y4hZ6gtdlBb7KC26L4OH86K\npAAzj7sGEZF8Y2Z4Fm7kiohIAVHoi4gkiEJfRCRBFPoiIgmi0BcRSRCFvohIgij0RUQSRKEvIpIg\nCn0RkQRR6IuIJIhCX0QkQRT6IiIJotAXEUkQhb6ISIIo9EVEEkShLyKSIAp9EZEEUeiLiCSIQl9E\nJEEU+iIiCaLQFxFJEIW+iEiCKPRFRBJEoS8ikiAKfRGRBFHoi4gkiEJfRPLXpk3w7/8O7nFXk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W/wJ6OfuW8zse8DjwAHtHRzVlf46oF+L1/0IP7E6OuZrqW2FJpO2SIqM2iJ18/YX\nwKnu/mFEtUWtU58Ld38W6GVme2W7sBhk0hZHEJ4N+jNwJnCPmZ0aUX1RStsW7r7J3bekvp8N7Gpm\nX27vDaMK/e0PeZnZboQHtWa1OmYWcD5sfxL4I3dfH1F9UcqkLT5TqFcvn0nbFma2H/AY8AN3XxND\njVHJpC0GpK5qMbPDAdz9/cgrzb60beHu33D3/d19f0K//g/dvb1/R/ksk8/FV1p8LoYShuJ/0N4b\nRtK94914yKvQZNIWqVlKFwN7AM1mVg0MdvdPYis8CzJpC+BG4EvAvanP9VZ3HxpXzdmSYVucCZxv\nZluBT4BzYis4izJsi0TIsC3OAn5oZk3AFtJ8LvRwlohIgmi5RBGRBFHoi4gkiEJfRCRBFPoiIgmi\n0BcRSRCFvohIgij0RUQSRKEvIpIg/w89NqstXi+m2QAAAABJRU5ErkJggg==\n",
"text": [
"<matplotlib.figure.Figure at 0x8295610>"
]
},
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Slope and intercept are 0.3449 torr.g/cm3 and 0.0293 g/cm3\n",
"K and Vm are 8.48e-02 Torr^-1 and 34.2 cm3/g\n"
]
}
],
"prompt_number": 11
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example Problem: 19.3, Page Number 510"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example Problem: 19.4, Page Number 520"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from numpy import arange,array,ones,linalg\n",
"from pylab import plot,show\n",
"\n",
"#Variable declaration\n",
"CBr = array([0.0005,0.001,0.002,0.003,0.005]) #C6Br6 concentration, M\n",
"tf = array([2.66e-7,1.87e-7,1.17e-7,8.50e-8,5.51e-8]) #Fluroscence life time, s\n",
"\n",
"#Calculations\n",
"Tfinv = 1./tf\n",
"xlim(0,0.006)\n",
"ylim(0,2.e7)\n",
"A = array([ CBr, ones(size(CBr))])\n",
"# linearly generated sequence\n",
"[m,c] = linalg.lstsq(A.T,Tfinv)[0] # obtaining the parameters\n",
"\n",
"line = m*CBr+c # regression line\n",
"plot(CBr,line,'r-',CBr,Tfinv,'o')\n",
"show()\n",
"\n",
"#Results\n",
"print 'Slope and intercept are kq = %5.4e per s and kf = %5.4e per s'%(m,c)"
],
"language": "python",
"metadata": {},
"outputs": [
{
"metadata": {},
"output_type": "display_data",
"png": "iVBORw0KGgoAAAANSUhEUgAAAX0AAAEGCAYAAACJnEVTAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAGJ5JREFUeJzt3XuUXHWV6PHvJoGENaiRqzIj4AVanhEk4PCQJWlHwUD7\nuFdxYLwoiAoC6Y5CEAgqcTnMFR/odKOAIIg4ig44vBoh4dEEBoM8wiuAkOaVIIQr4SUxDUl+949T\nHTpNpV+pqlNV5/tZq1aqzqNq/1ald+/+nXP2iZQSkqRi2CDvACRJtWPSl6QCMelLUoGY9CWpQEz6\nklQgJn1JKpCaJf2IOD8ilkbEfSPY9oyIWFB6/Ckinq9FjJLU7KJW5+lHxAeAvwK/SCntPIr9pgO7\nppS+WLXgJKkgalbpp5RuBtaq2COiJSJ+HxF3RMS8iNi+zK6fAX5dkyAlqcmNz/nzfwoclVJaFBF7\nAj8BPtS/MiL+J7AVcEM+4UlSc8kt6UfEJsDewH9GRP/ijQZtdgjwn8leEZJUEXlW+hsAL6SUpgyx\nzcHAMTWKR5Ka3pBz+hGxZUTcGBELI+L+iOhYx3adEfFIRNwTEUMl8TVSSi8Bj0XEQaX3iIjYZcB7\n7gC8NaU0f+TDkSQNZbgDua8BX00pTQb2Ao6NiB0HbhARBwLvTiltCxwJnFXujSLi18CtwPYRsTgi\nPg/8H+ALEXE3cD/w8QG7HIwHcCWpokZ1ymZEXAZ0pZSuH7DsbODGlNJvSq8fAqamlJZWOlhJ0voZ\n8SmbEbEVMAW4bdCqzYHFA14vAbZY38AkSZU3oqRfOtPmEmBG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Vp/DwPOVim3b2n5psB1wMPAHGBSHl9MFcf3v8nm5P4GPAP8vsnG\n9wjwBLCg9PhJk43vEuC+0g/bpcA7mmVsg97/UXJK+lX87n4B3Fva/jKy44fNNL4NgYtK/z/vBFqH\nisGLsySpQLxdoiQViElfkgrEpC9JBWLSl6QCMelLUoGY9CWpQEz6klQgJn1JKpD/D/zQh7mkzHIQ\nAAAAAElFTkSuQmCC\n",
"text": [
"<matplotlib.figure.Figure at 0x860a730>"
]
},
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Slope and intercept are kq = 3.1995e+09 per s and kf = 2.1545e+06 per s\n"
]
}
],
"prompt_number": 15
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example Problem: 19.5, Page Number 523"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from scipy.optimize import root\n",
"\n",
"#Variable Declaration\n",
"r = 11. #Distance of residue separation, \u00b0A\n",
"r0 = 9. #Initial Distance of residue separation, \u00b0A\n",
"EffD = 0.2 #Fraction decrease in eff\n",
"\n",
"#Calculations\n",
"Effi = r0**6/(r0**6+r**6)\n",
"Eff = Effi*(1-EffD)\n",
"f = lambda r: r0**6/(r0**6+r**6) - Eff\n",
"sol = root(f, 12)\n",
"rn = sol.x[0]\n",
"\n",
"#Results\n",
"print 'Separation Distance at decreased efficiency %4.2f'%rn"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Separation Distance at decreased efficiency 11.53\n"
]
}
],
"prompt_number": 21
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example Problem: 19.6, Page Number 525"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#Variable Declarations\n",
"mr = 2.5e-3 #Moles reacted, mol\n",
"P = 100.0 #Irradiation Power, J/s\n",
"t = 27 #Time of irradiation, s\n",
"h = 6.626e-34 #Planks constant, Js\n",
"c = 3.0e8 #Speed of light, m/s\n",
"labda = 280e-9 #Wavelength of light, m\n",
"\n",
"#Calculation\n",
"Eabs = P*t\n",
"Eph = h*c/labda\n",
"nph = Eabs/Eph #moles of photone\n",
"phi = mr/6.31e-3\n",
"\n",
"#Results\n",
"print 'Total photon energy absorbed by sample %3.1e J'%Eabs\n",
"print 'Photon energy absorbed at 280 nm is %3.1e J'%Eph\n",
"print 'Total number of photon absorbed by sample %3.1e photones'%nph\n",
"print 'Overall quantum yield %4.2f'%phi"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Total photon energy absorbed by sample 2.7e+03 J\n",
"Photon energy absorbed at 280 nm is 7.1e-19 J\n",
"Total number of photon absorbed by sample 3.8e+21 photones\n",
"Overall quantum yield 0.40\n"
]
}
],
"prompt_number": 4
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example Problem: 19.7, Page Number 530"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"from math import exp\n",
"#Variable Declarations\n",
"r = 2.0e9 #Rate constant for electron transfer, per s\n",
"labda = 1.2 #Gibss energy change, eV\n",
"DG = -1.93 #Gibss energy change for 2-naphthoquinoyl, eV\n",
"k = 1.38e-23 #Boltzman constant, J/K\n",
"T = 298.0 #Temeprature, K\n",
"#Calculation\n",
"DGS = (DG+labda)**2/(4*labda)\n",
"k193 = r*exp(-DGS*1.6e-19/(k*T))\n",
"#Results\n",
"print 'DGS = %5.3f eV'%DGS\n",
"print 'Rate constant with barrier to electron transfer %3.2e per s'%k193"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"DGS = 0.111 eV\n",
"Rate constant with barrier to electron transfer 2.66e+07 per s\n"
]
}
],
"prompt_number": 9
}
],
"metadata": {}
}
]
}
|