summaryrefslogtreecommitdiff
path: root/Material_Science_In_Engineering/ch15.ipynb
blob: ef9c8eba967c77f38df8a30d3fce4aa301309fcb (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
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
487
488
489
{
 "metadata": {
  "name": ""
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 15 : Electric Properties"
     ]
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 15.1 pageno :  391"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "v = 230.;\t\t\t#in volts\n",
      "d = 0.005;\t\t\t#in m\n",
      "\n",
      "# Calculations\n",
      "E = -v/d;\t\t\t#in V/m\n",
      "\n",
      "# Results\n",
      "print \"Electric field between pair of conducting plates (in V/m)  =  \",E\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Electric field between pair of conducting plates (in V/m)  =   -46000.0\n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 15.2 pageno : 391"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "n = 10.**19;\t\t\t#no. of electrons per unit volume\n",
      "e = 1.602*10**-19;\t\t\t#charge of an electron in C\n",
      "a = 0.018;\t\t\t#conductivity in ohm/m\n",
      "m = 9.1*10**-31;\t\t\t#mass of an electron in kg\n",
      "v = 0.16;\t\t\t#in volts\n",
      "t = 0.29;\t\t\t#thickness in mm\n",
      "\n",
      "# Calculations\n",
      "efg = v/t;\t\t\t#electric field gradient in V/m\n",
      "vd = a*efg/(n*e);\n",
      "vd1 = 10**3*vd;\t\t\t#in m/s\n",
      "\n",
      "# Results\n",
      "print \"Drift Velocity (in m/sec)  =  %.3f m/s\"%vd1\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Drift Velocity (in m/sec)  =  6.199 m/s\n"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 15.3 pageno : 399"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "l = 200.;   \t    \t\t#in m\n",
      "r = 21.;\t    \t    \t#in ohm\n",
      "d = 0.44*10**-3;\t\t\t#in m\n",
      "\n",
      "# Calculations\n",
      "a = 3.14*(d/2)**2;\t\t\t#area in sq m\n",
      "p = r*a/l;\t\t\t#in ohm-m\n",
      "\n",
      "# Results\n",
      "print \"Specific Resistance (in ohm-m)  =  %.3e ohm-m\"%p\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Specific Resistance (in ohm-m)  =  1.596e-08 ohm-m\n"
       ]
      }
     ],
     "prompt_number": 3
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 15.4 pageno : 400"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "p_cu = 0.015*10**-6;\t\t\t#resistivity of copper in ohm-m\n",
      "p_ni = 0.012*10**-6;\t\t\t#resistivity of nickel in ohm-m\n",
      "p_ag = 0.016*10**-6;\t\t\t#resistivity of silver in ohm-m\n",
      "c1 = 0.25;\t\t\t#atomic % of nickel\n",
      "c2 = 0.4;\t\t\t#atomic % of silver\n",
      "\n",
      "# Calculations\n",
      "p = p_cu+(c1*p_ni)+(c2*p_ag);\n",
      "\n",
      "# Results\n",
      "print \"Resistivity of Cu-Ni-Ag alloy at 300 K (in ohm-m)  =  %.2e ohm m\"%p\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Resistivity of Cu-Ni-Ag alloy at 300 K (in ohm-m)  =  2.44e-08 ohm m\n"
       ]
      }
     ],
     "prompt_number": 4
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 15.5 pageno : 407"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "m = 0.14;\t\t\t#mobility of electron\n",
      "u_h = 0.05;\t\t\t#mobility of holes\n",
      "p = 3000.;\t\t\t#resistivity in ohm-m\n",
      "\n",
      "# Calculations\n",
      "e = 1.602*10**-19;\t\t\t#charge of an electron in C\n",
      "a = 1./p;\t\t\t#conductivity \n",
      "n = a/(e*(m+u_h));\n",
      "\n",
      "# Results\n",
      "print \"Intrinsic Carrier density in pure silicon (in per cu m)  =  %.3e m**3\"%n\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Intrinsic Carrier density in pure silicon (in per cu m)  =  1.095e+16 m**3\n"
       ]
      }
     ],
     "prompt_number": 6
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 15.6 pageno : 410"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "id = 1000.;\t\t\t#in A/sqm\n",
      "p = 0.05;\t\t\t#resistivity in ohm-m\n",
      "l = 100.*10**-6;\t\t\t#in m\n",
      "m_e = 0.4;\t\t\t#in sqm/Vsec\n",
      "e = 1.602*10**-19;\t\t\t#charge of electron in C\n",
      "\n",
      "# Calculations\n",
      "a = 1./p;\t\t\t#conductivity\n",
      "n_e = a/(e*m_e);\t\t\t#in per cubic m\n",
      "v_d = id/(n_e*e);\t\t\t#in m/s\n",
      "t = l/v_d;\t\t\t#in sec\n",
      "t1 = t*10**6;\t\t\t#in msec\n",
      "\n",
      "# Results\n",
      "print \"Drift Velocity (in m/s)  =  %.f m/s\"%v_d\n",
      "print \"Time taken by electrons (in msec)  =  %.f ms\"%t1\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Drift Velocity (in m/s)  =  20 m/s\n",
        "Time taken by electrons (in msec)  =  5 ms\n"
       ]
      }
     ],
     "prompt_number": 7
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 15.7 pageno : 410"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "d = 1.*10**-3;\t    \t\t#diameter in m\n",
      "a = 3.14*(d/2)**2;\t\t\t#area of cross section of rod in sq m\n",
      "r = 100.;\t\t\t        #in ohm\n",
      "\n",
      "# Calculations\n",
      "l = 10.*10**-3;\t\t\t    #in m\n",
      "p = a*r/l;\t\t\t        #in ohm-m\n",
      "c = 1./p;\t        \t\t#conductivity\n",
      "e = 1.602*10**-19;\t\t\t#charge of electron in C\n",
      "u_h = 0.19;\t\t\t        #mobility of holes in sqm/Vsec\n",
      "n_h = c/(e*u_h);\n",
      "\n",
      "# Results\n",
      "print \"Impurity concentration in rod (in per cubic m)  =  %.2e m**3\"%n_h\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Impurity concentration in rod (in per cubic m)  =  4.19e+21 m**3\n"
       ]
      }
     ],
     "prompt_number": 9
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 15.8 pageno : 413"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "ni = 1.5*10**16;\t\t\t#intrinsic carrier concentration per cu. m\n",
      "n = 10**19;\t\t\t#no. of conduction electrons in per cu. m\n",
      "\n",
      "# Calculations\n",
      "p = ni**2/n;\t\t\t#in per cu.m\n",
      "\n",
      "# Results\n",
      "print \"Conduction electron and hole density (per cubic m)  =  %.2e m**3\"%p\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Conduction electron and hole density (per cubic m)  =  2.25e+13 m**3\n"
       ]
      }
     ],
     "prompt_number": 11
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 15.9 pageno : 413"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "import math \n",
      "\n",
      "# Variables\n",
      "nd = 10.**17;\t\t\t#in per cu cm\n",
      "ni = 1.5*10**10;\t\t\t#in cu cm\n",
      "t = 300;\t\t\t#in K\n",
      "\n",
      "# Calculations\n",
      "ne = nd;\t\t\t#nd>>ni\n",
      "nh = ni**2/ne;\n",
      "e = 0.0259*math.log(ne/ni);\t\t\t#in eV\n",
      "\n",
      "# Results\n",
      "print \"Hole concentration (in per cubic cm)  =  %.2e /cm**3\"%nh\n",
      "print \"Location of Fermi Level (in eV)  =  %.3f eV\"%e\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Hole concentration (in per cubic cm)  =  2.25e+03 /cm**3\n",
        "Location of Fermi Level (in eV)  =  0.407 eV\n"
       ]
      }
     ],
     "prompt_number": 12
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 15.10 pageno : 423"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "\n",
      "# Variables\n",
      "d = 40000.;\t\t\t    #dielectric strength in V/mm\n",
      "v = 33*10.**3;\t\t\t#in volts\n",
      "\n",
      "# Calculations\n",
      "t = v/d;\t\t\t#in mm\n",
      "\n",
      "# Results\n",
      "print \"thickness of insulation (in mm)  =  %.3f m m\"%t\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "thickness of insulation (in mm)  =  0.825 m m\n"
       ]
      }
     ],
     "prompt_number": 13
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 15.14 page no : 424"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "# Calculation\n",
      "\n",
      "T = 0.0464*10**5/2.9444\n",
      "\n",
      "# Result\n",
      "print \"Temperature T = %.1f K\"%T"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Temperature T = 1575.9 K\n"
       ]
      }
     ],
     "prompt_number": 14
    },
    {
     "cell_type": "heading",
     "level": 3,
     "metadata": {},
     "source": [
      "Example 15.16 pageno : 425"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "# Variables\n",
      "c = 2.99*10**8;\t\t    \t#speed of light in m/s\n",
      "h = 6.62*10**-24;\t\t\t#planck's constant\n",
      "l = 1.771*10**-6             #wavelength in m\n",
      "\n",
      "# Calculations\n",
      "eg = (h*c)/l;\t        \t\t#in J\n",
      "\n",
      "# Results\n",
      "print \"Band gap energy (in J)  =  %.2e Joules\"%eg\n",
      "#Incorrect answer int the textbook. Please calculate manually"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Band gap energy (in J)  =  1.12e-09 Joules\n"
       ]
      }
     ],
     "prompt_number": 7
    }
   ],
   "metadata": {}
  }
 ]
}