summaryrefslogtreecommitdiff
path: root/Engineering_Physics_By_G_Vijayakumari/Chapter10.ipynb
blob: d6847b23201434a05630b549930a53eca5a466c2 (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
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "#10: Intrinsic Semiconductors"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "##Example number 10.1, Page number 277"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The intrinsic carrier concentration at room temperature is 1.3889 *10**16 m^-3\n"
     ]
    }
   ],
   "source": [
    "#importing modules\n",
    "import math\n",
    "from __future__ import division\n",
    "\n",
    "#Variable declaration\n",
    "ec=4*10**-4;    #electrical conductivity of intrinsic silicon at room temperature(ohm^-1 m^-1)\n",
    "me=0.14;    #The electron mobility(m^2 V^-1 s^-1)\n",
    "mh=0.04;   #The hole mobility(m^2 V^-1 s^-1)\n",
    "e=1.6*10**-19;   #charge of electron(c)\n",
    "\n",
    "#Calculation\n",
    "ni=ec/(e*(me+mh));    #The intrinsic carrier concentration at room temperature(m^-3)\n",
    "\n",
    "#Result\n",
    "print \"The intrinsic carrier concentration at room temperature is\",round(ni/10**16,4),\"*10**16 m^-3\""
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "##Example number 10.2, Page number 277"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The resistivity of intrinsic carrier is 0.4709 ohm m\n"
     ]
    }
   ],
   "source": [
    "#importing modules\n",
    "import math\n",
    "from __future__ import division\n",
    "\n",
    "#Variable declaration\n",
    "d=2.37*10**19;   #The intrinsic carrier density at room temperature(m^-3)\n",
    "me=0.38;   #The electron mobility(m^2 V^-1 s^-1)\n",
    "mh=0.18;   #The hole mobility(m^2 V^-1 s^-1)\n",
    "e=1.6*10**-19;  #charge of electron(c)\n",
    "\n",
    "#Calculation\n",
    "r=1/(d*e*(me+mh));    #The resistivity of intrinsic carrier(ohm m)\n",
    "\n",
    "#Result\n",
    "print \"The resistivity of intrinsic carrier is\",round(r,4),\"ohm m\""
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "##Example number 10.3, Page number 277"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The intrinsic carrier density at room tepmerature is 5.04 *10**21 m^-3\n"
     ]
    }
   ],
   "source": [
    "#importing modules\n",
    "import math\n",
    "from __future__ import division\n",
    "\n",
    "#Variable declaration\n",
    "r=2*10**-4;   #the resistivity of In-Sb(ohm m)\n",
    "me=6;    #The electron mobility(m^2 V^-1 s^-1)\n",
    "mh=0.2;  #The hole mobility(m^2 V^-1 s^-1)\n",
    "e=1.6*10**-19;   #charge of electron(c)\n",
    "\n",
    "#Calculation\n",
    "d=1/(r*e*(me+mh));    #The intrinsic carrier density at room tepmerature(m^-3)\n",
    "\n",
    "#Result\n",
    "print \"The intrinsic carrier density at room tepmerature is\",round(d/10**21,2),\"*10**21 m^-3\""
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "##Example number 10.4, Page number 278"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The electrical conductivity at room temperature is 1.4374 *10**-3 ohm^-1 m^-1\n",
      "answer given in the book is wrong\n"
     ]
    }
   ],
   "source": [
    "#importing modules\n",
    "import math\n",
    "from __future__ import division\n",
    "\n",
    "#Variable declaration\n",
    "Eg=1.1*1.6*10**-19;    #The energy gap of silicon(J)\n",
    "me=0.48;    #The electron mobility(m^2 V^-1 s^-1)\n",
    "mh=0.13;    #The hole mobility(m^2 V^-1 s^-1)\n",
    "h=6.625*10**-34;   #Planck's constant(m^2 Kg/sec)\n",
    "e=1.6*10**-19;   #charge of electron(c)\n",
    "m=9.11*10**-31;  #mass of an electron\n",
    "kb=1.38*10**-23;  #Boltzmann's constant(m^2 Kg s^-2 k^-1)\n",
    "t=300;   #temperature(K)\n",
    "\n",
    "#Calculation\n",
    "ni=2*(2*math.pi*m*kb*t/h**2)**(3/2)*math.exp(-Eg/(2*kb*t));    #intrinsic carrier concentration(m^-3)\n",
    "ec=ni*e*(me+mh);   #The electrical conductivity at room temperature(ohm^-1 m^-1 *10^-3)\n",
    "\n",
    "#Result\n",
    "print \"The electrical conductivity at room temperature is\",round(ec*10**3,4),\"*10**-3 ohm^-1 m^-1\"\n",
    "print \"answer given in the book is wrong\""
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "##Example number 10.5, Page number 279"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The intrinsic carrier concentration is 1.983 *10**12 m^-3\n",
      "The electrical conductivity at room temperature is 2.8239 *10**-7 ohm^-1 m^-1\n",
      "answer varies due to rounding off errors\n"
     ]
    }
   ],
   "source": [
    "#importing modules\n",
    "import math\n",
    "from __future__ import division\n",
    "\n",
    "#Variable declaration\n",
    "Eg=1.43*1.6*10**-19;    #The energy gap of intrinsic GaAs(J)\n",
    "xe=0.85;    #The electron mobility(m^2 V^-1 s^-1)\n",
    "xh=0.04;    #The hole mobility(m^2 V^-1 s^-1)\n",
    "me=0.068*9.11*10**-31;   #effective mass of electron(m)\n",
    "mh=0.5*9.11*10**-31;   #effective mass of hole(m)\n",
    "h=6.625*10**-34;     #Planck's constant(m^2 Kg/sec)\n",
    "e=1.6*10**-19;    #charge of electron(c)\n",
    "m=9.11*10**-31;   #mass of an electron(kg)\n",
    "kb=1.38*10**-23;  #Boltzmann's constant(m^2 Kg s^-2 k^-1)\n",
    "t=300;    #temperature(K)\n",
    "\n",
    "#Calculation\n",
    "ni=2*(2*math.pi*kb*t/h**2)**(3/2)*(me*mh)**(3/4)*math.exp(-Eg/(2*kb*t));    #intrinsic carrier concentration(m^-3)\n",
    "ec=ni*e*(xe+xh);    #The electrical conductivity at room temperature(ohm^-1 m^-1)\n",
    "\n",
    "#Result\n",
    "print \"The intrinsic carrier concentration is\",round(ni/10**12,3),\"*10**12 m^-3\"\n",
    "print \"The electrical conductivity at room temperature is\",round(ec*10**7,4),\"*10**-7 ohm^-1 m^-1\"\n",
    "print \"answer varies due to rounding off errors\""
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "##Example number 10.6, Page number 279"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The position of the fermi level is 9.223086 *10**-20 J or 0.5764 eV\n"
     ]
    }
   ],
   "source": [
    "#importing modules\n",
    "import math\n",
    "from __future__ import division\n",
    "\n",
    "#Variable declaration\n",
    "Eg=1.12*1.6*10**-19;     #Energy gap of Si semi conductor(J)\n",
    "me=0.12*9.11*10**-31;   #The electron mobility(m^2 V^-1 s^-1)\n",
    "mh=0.28*9.11*10**-31;   #The hole mobility(m^2 V^-1 s^-1)\n",
    "t=300;    #temperature of fermi level(K)\n",
    "kb=1.38*10**-23;   #Boltzmann's constant(m^2 Kg s^-2 k^-1)\n",
    "m=9.11*10**-31;   #mass of an electron(Kg)\n",
    "\n",
    "#Calculation\n",
    "Ef=(Eg/2)+((3*kb*t/4)*math.log(mh/me));     #position of the fermi level(J)\n",
    "\n",
    "#Result\n",
    "print \"The position of the fermi level is\",round(Ef*10**20,6),\"*10**-20 J or\",round(Ef/(1.6*10**-19),4),\"eV\""
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "##Example number 10.7, Page number 280"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 17,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The Temperature of the fermi level shifted by 10% is 1115.127 K\n"
     ]
    }
   ],
   "source": [
    "#importing modules\n",
    "import math\n",
    "from __future__ import division\n",
    "\n",
    "#Variable declaration\n",
    "Eg=1*1.6*10**-19;   #Energy gap(J)\n",
    "E=0.1*1.6*10**-19;    #Fermi level is shifted by 10%(J)\n",
    "me=1*9.11*10**-31;    #The electron mobility(m^2 V^-1 s^-1)\n",
    "mh=4*9.11*10**-31;    #Effective mass of holes is 4 times that of electrons(m^2 V^-1 s^-1)\n",
    "m=9.11*10**-31;    #mass of an electron(kg)\n",
    "kb=1.38*10**-23;   #Boltzmann's constant(m^2 Kg s^-2 k^-1)\n",
    "\n",
    "#Calculation\n",
    "T=4*E/(3*kb*math.log(4));   #The Temperature of the fermi level shifted by 10%(K)\n",
    "\n",
    "#Result\n",
    "print \"The Temperature of the fermi level shifted by 10% is\",round(T,3),\"K\""
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "##Example number 10.8, Page number 281"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The resistance of an intrinsic Ge rod is 4310 ohm\n"
     ]
    }
   ],
   "source": [
    "#importing modules\n",
    "import math\n",
    "from __future__ import division\n",
    "\n",
    "#Variable declaration\n",
    "l=1*10**-2;   #length of the intrinsic Ge rod(m)\n",
    "b=1*10**-3;   #breadth of the intrinsic Ge rod(m)\n",
    "t=1*10**-3;   #thickness of the intrinsic Ge rod(m)\n",
    "T=300;      #temperature of the intrinsic Ge rod(K)\n",
    "me=0.39;    #The electron mobility(m^2 V^-1 s^-1)\n",
    "mh=0.19;    #The hole mobility(m^2 V^-1 s^-1)\n",
    "ni=2.5*10**19;    #intrinsic carrier conduction(m^3)\n",
    "e=1.6*10**-19;    #charge of electron(c)\n",
    "\n",
    "#Calculation\n",
    "ec=ni*e*(me+mh);    #The electrical conductivity at room temperature(ohm^-1 m^-1)\n",
    "A=b*t;      #area(m^2)\n",
    "R=l/(ec*A);    #The resistance of an intrinsic Ge rod(ohm)\n",
    "\n",
    "#Result\n",
    "print \"The resistance of an intrinsic Ge rod is\",int(R),\"ohm\""
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "##Example number 10.9, Page number 281"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The ratio of conductiveness is 1.08 *10**5\n"
     ]
    }
   ],
   "source": [
    "#importing modules\n",
    "import math\n",
    "from __future__ import division\n",
    "\n",
    "#Variable declaration\n",
    "Eg=1.2*1.6*10**-19;    #The energy gap of intrinsic semiconductor(J)\n",
    "T1=600;    #Temperature(K)\n",
    "T2=300;    #Temperature(K)\n",
    "e=1.6*10**-19;    #charge of electron(c)\n",
    "kb=1.38*10**-23;     #Boltzmann's constant(m^2 Kg s^-2 k^-1)\n",
    "\n",
    "#Calculation\n",
    "x=math.exp((-Eg/(2*kb))*((1/T1)-(1/T2)));    #The ratio of conductiveness\n",
    "\n",
    "#Result\n",
    "print \"The ratio of conductiveness is\",round(x/10**5,2),\"*10**5\""
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "##Example number 10.10, Page number 282"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The conductivity of Ge at T2 is 4.969895 ohm^-1 m^-1\n"
     ]
    }
   ],
   "source": [
    "#importing modules\n",
    "import math\n",
    "from __future__ import division\n",
    "\n",
    "#Variable declaration\n",
    "Eg=0.72*1.6*10**-19;    #The band gap of Ge(J)\n",
    "T1=293;    #Temperature(K)\n",
    "T2=313;    #Temperature(K)\n",
    "x1=2;     #The conductivity of Ge at T1(ohm^-1 m^-1)\n",
    "e=1.6*10**-19;   #charge of electron(c)\n",
    "kb=1.38*10**-23;   #Boltzmann's constant(m^2 Kg s^-2 k^-1)\n",
    "\n",
    "#Calculation\n",
    "x2=x1*math.exp((Eg/(2*kb))*((1/T1)-(1/T2)));    #The ratio of conductiveness\n",
    "\n",
    "#Result\n",
    "print \"The conductivity of Ge at T2 is\",round(x2,6),\"ohm^-1 m^-1\""
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "##Example number 10.11, Page number 282"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The intrinsic carrier density of A to B is 1015\n"
     ]
    }
   ],
   "source": [
    "#importing modules\n",
    "import math\n",
    "from __future__ import division\n",
    "\n",
    "#Variable declaration\n",
    "Eg1=0.36;    #The energy gap of intrinsic semiconductor A(eV)\n",
    "Eg2=0.72;    #The energy gap of intrinsic semiconductor B(eV)\n",
    "T1=300;     #Temperature of semiconductor A(K)\n",
    "T2=300;     #Temperature of semiconductor B(K)\n",
    "m=9.11*10**-31;   #mass of an electron(kg)\n",
    "KT=0.026;     #kt(eV)\n",
    "\n",
    "#Calculation\n",
    "x=math.exp((Eg2-Eg1)/(2*KT));    #The intrinsic carrier density of A to B\n",
    "\n",
    "#Result\n",
    "print \"The intrinsic carrier density of A to B is\",int(x)"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "##Example number 10.12, Page number 283"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The band gap of semiconductor is 5.5863 *10**-20 J or 0.349 eV\n"
     ]
    }
   ],
   "source": [
    "#importing modules\n",
    "import math\n",
    "from __future__ import division\n",
    "\n",
    "#Variable declaration\n",
    "T1=293;   #Temperature(K)\n",
    "T2=373;   #Temperature(K)\n",
    "x1=250;   #The conductivity of semiconductor at T1(ohm^-1 m^-1)\n",
    "x2=1100;  #The conductivity of semiconductor at T2(ohm^-1 m^-1)\n",
    "e=1.6*10**-19;   #charge of electron(c)\n",
    "kb=1.38*10**-23;   #Boltzmann's constant(m^2 Kg s^-2 k^-1)\n",
    "\n",
    "#Calculation\n",
    "Eg=2*kb*math.log(x2/x1)*(T1*T2/(T2-T1));   #The band gap of semiconductor(J)\n",
    "\n",
    "#Result\n",
    "print \"The band gap of semiconductor is\",round(Eg*10**20,4),\"*10**-20 J or\",round(Eg/(1.6*10**-19),3),\"eV\""
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "##Example number 10.13, Page number 284"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 15,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "mobility of pure semi conductor is 0.08283 m^2 V^-1 s^-1\n"
     ]
    }
   ],
   "source": [
    "#importing modules\n",
    "import math\n",
    "from __future__ import division\n",
    "\n",
    "#Variable declaration\n",
    "me=50;    #The electron mobility of pure semi conductor(m^2 V^-1 s^-1)\n",
    "t1=4.2;   #temperature of pure semi conductor(K)\n",
    "t2=300;   #temperature(K)\n",
    "\n",
    "#Calculation\n",
    "m=me*((t2**(-3/2))/(t1**(-3/2)));    #mobility of pure semi conductor(m^2 V^-1 s^-1)\n",
    "\n",
    "#Result\n",
    "print \"mobility of pure semi conductor is\",round(m,5),\"m^2 V^-1 s^-1\""
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "##Example number 10.14, Page number 284"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 18,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The band gap of an intrinsic semi conductor is 1.183808 *10**-19 J or 0.7399 eV\n"
     ]
    }
   ],
   "source": [
    "#importing modules\n",
    "import math\n",
    "from __future__ import division\n",
    "\n",
    "#Variable declaration\n",
    "ec1=19.96;    #The electrical conductivity of an intrinsic semi conductor(ohm^-1 m^-1)\n",
    "ec2=79.44;    #The increasing electrical conductivity of an intrinsic semi conductor(ohm^-1 m^-1)\n",
    "t1=333;   #temperature of an intrinsic semi conductor(K)\n",
    "t2=373;   #increasing temperature of an intrinsic semi conductor(K)\n",
    "kb=1.38*10**-23;   #Boltzmann's constant(m^2 Kg s^-2 k^-1)\n",
    "\n",
    "#Calculation\n",
    "Eg=2*kb*math.log(ec2/ec1)*((t1*t2)/(t2-t1));    #The band gap of an intrinsic semi conductor(J)\n",
    "\n",
    "#Result\n",
    "print \"The band gap of an intrinsic semi conductor is\",round(Eg*10**19,6),\"*10**-19 J or\",round(Eg/(1.6*10**-19),4),\"eV\""
   ]
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 2",
   "language": "python",
   "name": "python2"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 2
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython2",
   "version": "2.7.9"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}