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
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
|
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# Chapter 6: Conducting materials"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 6.10: calculate_electrical_conductivity.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"// chapter 6 , Example6.10 , pg 175\n",
"lam=4*10^-8 //maen free path of electrons (in m)\n",
"n=8.4*10^28 //electron density (in m^-3)\n",
"Vth=1.6*10^6 //average thermal velocity of electrons (in m/s)\n",
"e=1.6*10^-19 //charge of electron (in C)\n",
"Me=9.11*10^-31 //mass of electron (in Kg)\n",
"sigma=(n*e^2*lam)/(Vth*Me) //conductivity\n",
"printf('Electrical conductivity (in /(ohm*m))')\n",
"disp(sigma)"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 6.11: calculate_electrical_and_thermal_conductivities.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"// chapter 6 , Example6.11 , pg 176\n",
"Tr=10^-14 //relaxation time (in s)\n",
"T=300 //temperature (in K)\n",
"n=6*10^28 //electron concentration (in /m^3)\n",
"Me=9.11*10^-31 //mass of electron (in Kg)\n",
"e=1.6*10^-19 //charge of electron (in C)\n",
"k=1.38*10^-23 //Boltzmann constant (in J/K)\n",
"sigma=(n*e^2*Tr)/(Me) //Electrical conductivity \n",
"K=(3*n*k^2*Tr*T)/(2*Me) //Thermal conductivity \n",
"L=K/(sigma*T) //Lorentz number\n",
"printf('Electrical conductivity (in /(ohm*m))')\n",
"disp(sigma)\n",
"printf('Thermal conductivity (in W/(m*K))')\n",
"disp(K)\n",
"printf('Lorentz number (in(W*ohm)/K^2)')\n",
"disp(L)"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 6.12: find_relaxation_time.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"// chapter 6 , Example6.12 , pg 177\n",
"n=5.8*10^28 // electron concentration (in /m^3)\n",
"e=1.6*10^-19 // charge of electron (in C)\n",
"rho=1.54*10^-8 //resistivity of metal (in ohm*m)\n",
"M=9.11*10^-31 //mass of electron (in Kg)\n",
"T=M/(n*e^2*rho) //relaxation time\n",
"printf('Relaxation time(in s)')\n",
"disp(T)"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 6.13: calculate_drift_velocity_and_mobility_and_relaxation_time.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"// chapter 6 , Example6.13 , pg 177\n",
"rho=1.54*10^-8 //resistivity (in ohm*m)\n",
"E=100 //electric field intensity (in V/m)\n",
"n=5.8*10^28 //electron concentration (in /m^3)\n",
"e=1.6*10^-19 //charge of electron (in C)\n",
"Me=9.11*10^-31 //mass of electron (in Kg)\n",
"T=Me/(rho*n*e^2) //relaxation time\n",
"Vd=(e*E*T)/Me //drift velocity\n",
"U=Vd/E //mobility\n",
"printf('Relaxation time (in s)')\n",
"disp(T)\n",
"printf('Drift veloity (in m/s)')\n",
"disp(Vd)\n",
"printf('Mobility(in m^2/(V*s))')\n",
"disp(U)"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 6.14: calculate_drift_velocity.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"// chapter 6 , Example6 14 , pg 178\n",
"T=300 //temperature (in K)\n",
"l=2 //length (in m)\n",
"R=0.02 //Resistance (in ohm)\n",
"u=4.3*10^-3 // (in m^2/(V*s))\n",
"I=15 //current (in A)\n",
"V=I*R //voltage drop across wire (in V )\n",
"E=V/l //electric field across wire (in V/m)\n",
"Vd=u*E //drift velocity (in m/s)\n",
"printf('Drift velocity (in m/s)')\n",
"disp(Vd)"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 6.15: calculate_Fermi_energy_and_Fermi_temperature.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"// chapter 6 , Example6 15 , pg 179\n",
"m=9.11*10^-31 //mass of electron (in Kg)\n",
"k=1.38*10^-23 //boltzmann constant (in J/K)\n",
"e=1.6*10^-19 //electronic charge(in C )\n",
"Vf=0.86*10^6 //Fermi velocity of electron (in m/s)\n",
"Ef=(m*Vf^2)/(2*e) //Fermi energy (in eV)\n",
"Tf=(Ef*e)/k //Fermi temperature\n",
"printf('Fermi energy=')\n",
"printf('Ef=%.1f eV \n',Ef)\n",
"printf('Fermi temperature =')\n",
"printf('Tf=%.0f K',Tf)"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 6.16: calculate_Fermi_velocity.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"// chapter 6 , Example6 16 , pg 179\n",
"Tf=2460 //Fermi temperature (in K)\n",
"m=9.11*10^-31 //mass of electron (in Kg)\n",
"k=1.38*10^-23 //boltzmann constant (in J/K)\n",
"Vf=sqrt((2*k*Tf)/m) //Fermi velocity\n",
"printf('Fermi velocity (in m/s)=')\n",
"disp(Vf)"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 6.1: calculate_Fermi_energy.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"// chapter 6 , Example6 1 , pg 170\n",
"Vf=10^6 //Fermi velocity (in m/s)\n",
"m=9.11*10^-31 // mass of electron(in Kg)\n",
"Ef=(m*Vf^2)/2 //Fermi energy (in J)\n",
"printf('Fermi energy for the electrons in the metal=')\n",
"printf('Ef=%.1f eV',(Ef/(1.6*10^-19))) //converting J into eV"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 6.2: calculate_Fermi_energy.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"// chapter 6 , Example6 2 , pg 170\n",
"Ef0=7.04*1.6*10^-19 // Fermi energy at 0 K (converting eV into J)\n",
"T=300 //temperature (in K)\n",
"k=1.38*10^-23 //boltzmann constant (in (m^2*Kg)/(s^2*K^-1))\n",
"Ef=Ef0*(1-(%pi^2*(k*T)^2)/(12*Ef0^2)) //Fermi energy at 300 K (in J)\n",
"printf('Fermi energy at 300 K =')\n",
"printf('Ef=%.4f eV',(Ef/(1.6*10^-19))) //converting J into eV"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 6.3: calculate_conductivity_and_relaxation_time.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"// chapter 6 , Example6.3 , pg 171\n",
"d=2.7*10^3 //density (in Kg/m^3)\n",
"Ma=27 //atomic weight\n",
"Me=9.11*10^-31 //mass of electron (in Kg)\n",
"e=1.6*10^-19 //charge in electron (in C)\n",
"T=10^-14 //relaxation time (in s)\n",
"Na=6.022*10^23 //Avogadro constant\n",
"N=3*10^3 //number of free electrons per atom\n",
"n=(d*Na*N)/Ma //(in /m^3)\n",
"sigma=(n*e^2*T)/Me //conductivity\n",
"printf('Conductivity of Al (in /(ohm*m))')\n",
"disp(sigma)"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 6.4: calculate_Lorentz_number.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"// chapter 6 , Example6 4 , pg 171\n",
"sigma=5.87*10^7 // electrical conductivity (in /(ohm m))\n",
"K=390 //thermal conductivity (in W/(m K))\n",
"T=293 //temperature (in K)\n",
"L=K/(sigma*T) //Lorentz number by wiedemann-Franz law\n",
"printf('Lorentz number (in W*ohm /K^2)')\n",
"disp(L)"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 6.5: calculate_electrical_conductivity.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"// chapter 6 , Example6 5 , pg 172\n",
"d=8900 //density (in Kg/m^3)\n",
"M=63.5 //atomic weight \n",
"T=10^-14 //relaxation time(in s)\n",
"N=6.022*10^23 //Avogadros constant\n",
"N1=10^3 //number of free electrons per atom\n",
"e=1.6*10^-19 //electronic charge (in C)\n",
"me=9.11*10^-31 //mass of electron (in Kg)\n",
"\n",
"n=(N*d*N1)/M \n",
"sigma =(n*e^2*T)/me //electrical conductivity\n",
"printf('Electrical conductivity(in ohm m)=')\n",
"disp(sigma)"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 6.6: EX6_6.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"// chapter 6 , Example6 6 , pg 172\n",
"rho=1.54*10^-8 //resistivity (in ohm*m)\n",
"Ef=5.5 //Fermi energy (in eV)\n",
"E=100 //electric field intensity (in V/m)\n",
"n=5.8*10^28 //concentration of electrons (in atoms/m^3)\n",
"e=1.6*10^-19 //charge in electron (in C)\n",
"Me=9.11*10^-31 //mass of electron (in Kg)\n",
"T=Me/(rho*n*e^2) //relaxation time\n",
"Un=(e*T)/Me //mobility of electron\n",
"Vd=(e*T*E)/Me //drift velocity\n",
"Vf=sqrt((2*Ef*e)/Me) //Fermi velocity\n",
"lam_m=Vf*T //mean free path\n",
"\n",
"printf('Relaxation time of electron (in s)')\n",
"disp(T)\n",
"printf('Mobility of electron (in m^2/(V*s))')\n",
"disp(Un)\n",
"printf('Drift velocity of electron (in m/s)')\n",
"disp(Vd)\n",
"printf('Fermi velocity of electrons (in m/s)')\n",
"disp(Vf)\n",
"printf('Mean free path(in m)')\n",
"disp(lam_m)"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 6.7: calculate_thermal_conductivity.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"// chapter 6 , Example6 6 , pg 174\n",
"L= 2.26*10^-8 //Lorentz number (in W*m /K^2)\n",
"T=27+273 //temperature (in K) (converting celsius into kelvin)\n",
"rho=1.72*10^-8 //electrical resistivity (in ohm *m)\n",
"\n",
"//according to Wiedemann-Franz law\n",
"K=(L*T)/rho //thermal conductivity\n",
"printf('Thermal conductivity =')\n",
"printf('K=%.0f W/(m*K)',K)"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 6.8: calculate_Lorentz_number.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"// chapter 6 , Example6 8 , pg 174\n",
"sigma=5.87*10^7 // electrical conductivity (in /(ohm m))\n",
"K=390 //thermal conductivity (in W/(m K))\n",
"T=293 //temperature (in K)\n",
"L=K/(sigma*T) //Lorentz number by wiedemann-Franz law\n",
"printf('Lorentz number (in W*ohm /K^2)')\n",
"disp(L)"
]
}
,
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example 6.9: find_F_E.sce"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
"// chapter 6 , Example6 9 , pg 174\n",
"del_E=0.01*1.6*10^-19 // del_E = E-Ef (in J) (converting eV into J)\n",
"T=200 //temperature (in K)\n",
"k=1.38*10^-23 //boltzmanns constant (in J/K)\n",
"F_E=1/(1+exp(del_E/(k*T))) //Fermi Dirac distribution function\n",
"printf('F_E=%.2f',F_E)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Scilab",
"language": "scilab",
"name": "scilab"
},
"language_info": {
"file_extension": ".sce",
"help_links": [
{
"text": "MetaKernel Magics",
"url": "https://github.com/calysto/metakernel/blob/master/metakernel/magics/README.md"
}
],
"mimetype": "text/x-octave",
"name": "scilab",
"version": "0.7.1"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
|