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
|
{
"metadata": {
"name": "",
"signature": "sha256:c7dc6b3d9590410d93237c02edc71fc080a2b941482564691379213f8d71b12e"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"6: Semiconductors"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example number 6.1, Page number 133"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#importing modules\n",
"import math\n",
"from __future__ import division\n",
"\n",
"#Variable declaration\n",
"V1=1.4; #voltage1(V)\n",
"V2=1.5; #voltage2(V)\n",
"I1=60; #forward current for 1.4V(mA)\n",
"I2=85; #forward current for 1.5V(mA)\n",
"\n",
"#Calculation\n",
"I1=I1*10**-3; #forward current for 1.4V(A)\n",
"I2=I2*10**-3; #forward current for 1.5V(A)\n",
"Rs1=V1/I1; #static resistance for 1.4V(ohm)\n",
"Rs2=V2/I2; #static resistance for 1.5V(ohm) \n",
"dV=V2-V1; #change in voltage(V)\n",
"dI=I2-I1; #change in current(A)\n",
"Rd=dV/dI; #dynamic resistance(ohm)\n",
"\n",
"#Result\n",
"print \"static resistance for 1.4V is\",round(Rs1,1),\"ohm\"\n",
"print \"static resistance for 1.5V is\",round(Rs2,1),\"ohm\"\n",
"print \"dynamic resistance is\",Rd,\"ohm\"\n",
"print \"answer for dynamic resistance given in the book is wrong\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"static resistance for 1.4V is 23.3 ohm\n",
"static resistance for 1.5V is 17.6 ohm\n",
"dynamic resistance is 4.0 ohm\n",
"answer for dynamic resistance given in the book is wrong\n"
]
}
],
"prompt_number": 4
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example number 6.2, Page number 134"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#importing modules\n",
"import math\n",
"from __future__ import division\n",
"\n",
"#Variable declaration\n",
"IE=1; #emitter current(mA)\n",
"IB=0.02; #base current(mA)\n",
"\n",
"#Calculation\n",
"IC=IE-IB; #collector current(mA)\n",
"beta=IC/IB; #value of beta\n",
"alpha=IC/IE; #value of alpha\n",
"\n",
"#Result\n",
"print \"value of beta is\",beta\n",
"print \"value of alpha is\",alpha"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"value of beta is 49.0\n",
"value of alpha is 0.98\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example number 6.3, Page number 134"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#importing modules\n",
"import math\n",
"from __future__ import division\n",
"\n",
"#Variable declaration\n",
"alpha=0.99; #value of alpha\n",
"I_CBO=0.5; #value of ICBO(micro A)\n",
"\n",
"#Calculation\n",
"beta=alpha/(1-alpha); #value of beta\n",
"ICEO=1/(1-alpha)*I_CBO; #value of ICEO(micro A)\n",
"\n",
"#Result\n",
"print \"value of beta is\",beta\n",
"print \"value of ICEO is\",ICEO,\"micro A\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"value of beta is 99.0\n",
"value of ICEO is 50.0 micro A\n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example number 6.4, Page number 134"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#importing modules\n",
"import math\n",
"from __future__ import division\n",
"\n",
"#Variable declaration\n",
"delta_Ic=4.5-2; #change in collector current(mA)\n",
"delta_Ib=80-40; #change in base current(microA)\n",
"\n",
"#Calculation\n",
"delta_Ic=delta_Ic*10**-3; #change in collector current(A)\n",
"delta_Ib=delta_Ib*10**-6; #change in base current(A)\n",
"beta_AC=delta_Ic/delta_Ib; #value of beta\n",
"alpha_AC=beta_AC/(1+beta_AC); #value of alpha\n",
"\n",
"#Result\n",
"print \"value of beta is\",beta_AC\n",
"print \"value of alpha is\",round(alpha_AC,4)"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"value of beta is 62.5\n",
"value of alpha is 0.9843\n"
]
}
],
"prompt_number": 3
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example number 6.5, Page number 134"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#importing modules\n",
"import math\n",
"from __future__ import division\n",
"\n",
"#Variable declaration\n",
"IE=1; #emitter current(mA)\n",
"Oc=0.04; #output current(mA)\n",
"\n",
"#Calculation\n",
"IC=1-Oc; #collector current(mA)\n",
"alpha=IC/IE; #value of alpha\n",
"\n",
"#Result\n",
"print \"current gain is\",alpha"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"current gain is 0.96\n"
]
}
],
"prompt_number": 4
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example number 6.6, Page number 134"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#importing modules\n",
"import math\n",
"from __future__ import division\n",
"\n",
"#Variable declaration\n",
"alpha=0.96; #current gain\n",
"R=1; #resistance(K ohm)\n",
"V=1.5; #voltage drop(V)\n",
"\n",
"#Calculation\n",
"IC=V/R; #collector current(mA)\n",
"IE=IC/alpha; #emitter current(mA)\n",
"IB=IE-IC; #base current(mA)\n",
"\n",
"#Result\n",
"print \"base current is\",IB,\"mA\""
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"base current is 0.0625 mA\n"
]
}
],
"prompt_number": 5
}
],
"metadata": {}
}
]
}
|