summaryrefslogtreecommitdiff
path: root/Integrated_Electronics/Chapter2.ipynb
blob: 290a59be460dece9da20ad3e74a2feef8f455140 (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
{
 "metadata": {
  "name": ""
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "Chapter 02 : Transport Phenomena in Semiconductor"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 2.1, Page No 22"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "#initialisation of variables\n",
      "n=10.0**20\n",
      "q=1.6*10**-19\n",
      "mn=800     #cm^3\n",
      "delta=1   #V/cm\n",
      "\n",
      "#Calculations\n",
      "J=n*q*mn*delta\n",
      "\n",
      "\n",
      "#Results\n",
      "print(\"The electron current density is= %.2f X 10^4 atom/cm^2 \" %(J/(10**4)))"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The electron current density is= 1.28 X 10^4 atom/cm^2 \n"
       ]
      }
     ],
     "prompt_number": 1
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 2.2a, Page No 27"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "#initialisation of variables\n",
      "ni=10.0**10\n",
      "Nd=10**12\n",
      "\n",
      "#Calculations\n",
      "n=(Nd+(math.sqrt(Nd+4*ni**2)))\n",
      "\n",
      "\n",
      "#Results\n",
      "print(\"The free electron  is= %.3f X 10^12 cm^3 \" %(n/(10**12)))"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The free electron  is= 1.020 X 10^12 cm^3 \n"
       ]
      }
     ],
     "prompt_number": 2
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 2.2b, Page No 27"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "#initialisation of variables\n",
      "ni=10.0**10\n",
      "Nd=10**18\n",
      "\n",
      "#Calculations\n",
      "n=(Nd+(math.sqrt(Nd+4*ni**2)))\n",
      "\n",
      "\n",
      "#Results\n",
      "print(\"The free electron  is= %.2f X 10^18 cm^3 \" %(n/(10**18)))"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The free electron  is= 1.00 X 10^18 cm^3 \n"
       ]
      }
     ],
     "prompt_number": 3
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 2.3a, Page No 29"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "#initialisation of variables\n",
      "Av=6.02*(10**23)      #Avogadro No.\n",
      "m=72.6                #Molar mass of germanium in gm/moles\n",
      "d=5.32                #density in gm/cm^3\n",
      "\n",
      "#Calculations\n",
      "conc = (Av/m)*d       #Concentration of atom in germanium\n",
      "\n",
      "#Results\n",
      "print(\"The concentration of germanium atom is= %.2f X 10^22 atom/cm^3 \" %(conc/(10**22)))"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The concentration of germanium atom is= 4.41 X 10^22 atom/cm^3 \n"
       ]
      }
     ],
     "prompt_number": 4
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 2.3b, Page No 29"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "\n",
      "#initialisation of variables\n",
      "Av=6.02*(10**23) #Avogadro No.\n",
      "m=72.6        #Molar mass of germanium in gm/moles\n",
      "d=5.32        #density in gm/cm^3\n",
      "ni=2.5*(10**13)        #in cm^-3\n",
      "n=ni\n",
      "p=ni                #n=magnitude of free electrons, p=magnitude of holes, ni=magnitude of intrinsic concentration\n",
      "\n",
      "#Calculations\n",
      "q=1.6*(10**-19)          #Charge of an Electron\n",
      "yn=3800.0         #in cm^2/V-s\n",
      "yp=1800.0        #in cm^2/V-s\n",
      "\n",
      "#Required Formula\n",
      "A=ni*q*(yn+yp)          #Conductivity\n",
      "print(\"Conductivity is = %.2f ohm-cm^-1 \" %A)\n",
      "R =1.0/A          #Resistivity\n",
      "print(\"Resistivity is = %.2f ohm-cm \" %R)\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Conductivity is = 0.02 ohm-cm^-1 \n",
        "Resistivity is = 44.64 ohm-cm \n"
       ]
      }
     ],
     "prompt_number": 5
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 2.3c Page No 29"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "\n",
      "#initialisation of variables\n",
      "print('We know that n=p=ni where n is conc of free electron p is conc of holes and ni is conc of intrinsic carriers')\n",
      "#Resistivity if 1 donor atom per 10^8 germanium atoms\n",
      "Nd=4.41*(10**14)           #in atoms/cm^3\n",
      "ni=2.5*(10**13)         #in cm^3\n",
      "yn=3800.0              #in cm^2/V-s\n",
      "\n",
      "#Calculations\n",
      "q=1.6*(10**-19)\n",
      "n=Nd\n",
      "p=(ni**2)/Nd\n",
      "\n",
      "print(\"The concentration of holes is= %.2f holes/cm^3 \" %p)\n",
      "if n>p:\n",
      "    A=n*q*yn        #Conductivity\n",
      "    print(\"The conductivity is = %.2f ohm-cm^-1 \" %A)\n",
      " \n",
      "R=1.0/A           #Resistivity\n",
      "\n",
      "#Results\n",
      "print(\"The resistivity is = %.2f ohm-cm \" %R)"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "We know that n=p=ni where n is conc of free electron p is conc of holes and ni is conc of intrinsic carriers\n",
        "The concentration of holes is= 1417233560090.70 holes/cm^3 \n",
        "The conductivity is = 0.27 ohm-cm^-1 \n",
        "The resistivity is = 3.73 ohm-cm \n"
       ]
      }
     ],
     "prompt_number": 6
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 2.3d, Page No 29"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "#initialisation of variables\n",
      "\n",
      "print('We know that n=p=ni where n is conc of free electron p is conc of holes and ni is conc of intrinsic carriers')\n",
      "#Ratio of Conductivities\n",
      "Nd=4.41*(10**14)       #in atoms/cm^3\n",
      "ni=2.5*(10**13)      #in cm^3\n",
      "yn=3800.0           #in cm^2/V-s\n",
      "q=1.6*(10**-19)\n",
      "\n",
      "#Calculations\n",
      "n=Nd\n",
      "A=n*q*yn      #Conductivity\n",
      "\n",
      "#If germanium atom were monovalent metal , ratio of conductivity to that of n-type semiconductor\n",
      "\n",
      "n=4.41*(10**22)         #in electrons/cm^3\n",
      "\n",
      "\n",
      "#Results\n",
      "print('If germanium atom were monovalent metal')\n",
      "A1=n*q*yn\n",
      "print(\"The coductivity of metal is= %.2f ohm=cm^-1 x 10^7 \" %(A1/10**7))\n",
      "F=A1/A\n",
      "print(\"The factor by which the coductivity of metal is higher than that of n type semiconductor is %.2f x 10^8 \" %(F/10**8))\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "We know that n=p=ni where n is conc of free electron p is conc of holes and ni is conc of intrinsic carriers\n",
        "If germanium atom were monovalent metal\n",
        "The coductivity of metal is= 2.68 ohm=cm^-1 x 10^7 \n",
        "The factor by which the coductivity of metal is higher than that of n type semiconductor is 1.00 x 10^8 \n"
       ]
      }
     ],
     "prompt_number": 7
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example 2.4, Page No 35"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "import math\n",
      "\n",
      "#initialisation of variables\n",
      "g=5*10**21    #Generation rate\n",
      "tp=2*10**-6        #hole lifetime\n",
      "\n",
      "#Calculations\n",
      "p=g*tp\n",
      "\n",
      "#Required Formula\n",
      "print(\"Hole density is = %.2f cm^3 10^16 \" %(p/10**16))\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "Hole density is = 1.00 cm^3 10^16 \n"
       ]
      }
     ],
     "prompt_number": 8
    }
   ],
   "metadata": {}
  }
 ]
}