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
|
{
"metadata": {
"name": ""
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"CHAPTER 1 INTRODUCTION"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 1-1, Page 9"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"Rs=50 #source resistance(Ohm)\n",
"\n",
"RL=100*Rs/1000 #Minimum Load resistance(KOhm)\n",
"\n",
"print 'Minimum Load resistance =',RL,'KOhm'"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Minimum Load resistance = 5 KOhm\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 1-2, Page 12"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"Is=0.002 #Current source(A)\n",
"Rs=10000000 #internal resistance(Ohm)\n",
"\n",
"Rl_Max=0.01*Rs/1000 #Maximum load resistance(KOhm)\n",
"\n",
"print 'With 100:1 Rule, Maximum Load resistance =',Rl_Max,'KOhm'\n",
"print 'Stiff range for current source is load resistance from 0 KOhm to',Rl_Max,'KOhm'"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"With 100:1 Rule, Maximum Load resistance = 100.0 KOhm\n",
"Stiff range for current source is load resistance from 0 KOhm to 100.0 KOhm\n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 1-3, Page 13"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"Il=0.002 #current source(A)\n",
"Rl=10000 #load resistance(Ohm)\n",
"\n",
"Vl=Il*Rl #load voltage(V)\n",
"\n",
"print 'Load Voltage =',Vl,'V'"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Load Voltage = 20.0 V\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 1-4, Page 14"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"print 'As per figure 1-9a, Calculate Thevenin resistor by opening load resistor'\n",
"\n",
"Vs=72 #source voltage\n",
"R1=6 #Resistance (KOhm)\n",
"R2=3 #Resistance (KOhm)\n",
"R3=4 #Resistance (KOhm)\n",
"\n",
"Ro=R1+R2 #Resistance (KOhm)\n",
"I=Vs/Ro\n",
"Vab=R2*Vs/(R1+R2) #Thevenin voltage(V)\n",
"Rth=((R1*R2)/(R1+R2))+R3 #Thevenin Resistance(KOhm)\n",
"\n",
"print 'After removing Rl current flowing through 6KOhm is',I,'mA'\n",
"print 'Thevenin Voltage Vth =',Vab,'V'\n",
"print 'Calculating Thevenin Resistance with considering R1 & R2 in parallel'\n",
"print 'Thevenin Resistance =',Rth,'KOhm'"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"As per figure 1-9a, Calculate Thevenin resistor by opening load resistor\n",
"After removing Rl current flowing through 6KOhm is 8 mA\n",
"Thevenin Voltage Vth = 24 V\n",
"Calculating Thevenin Resistance with considering R1 & R2 in parallel\n",
"Thevenin Resistance = 6 KOhm\n"
]
}
],
"prompt_number": 3
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 1-5, Page 15"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"Vs=72 #source voltage\n",
"R1=2 #resistance1 (KOhm)\n",
"R2=2 #resistance1 (KOhm)\n",
"R3=1 #resistance1 (KOhm)\n",
"R4=2 #resistance1 (KOhm)\n",
"R5=1 #resistance1 (KOhm)\n",
"R6=2 #resistance1 (KOhm)\n",
"R7=0.5 #resistance1 (KOhm)\n",
"RL=1 #load resistance (KOhm)\n",
"\n",
"Vth=9 #Thevenin voltage(V)\n",
"Rth=1.5 #Thevenin resistance(KOhm)\n",
"\n",
"print 'Thevenin Voltage Vth =',Vth,'V'\n",
"print 'Thevenin Resistance =',Rth,'KOhm'"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Thevenin Voltage Vth = 9 V\n",
"Thevenin Resistance = 1.5 KOhm\n"
]
}
],
"prompt_number": 2
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Example 1-6, Page 19"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"\n",
"Vs=10 #source voltage\n",
"Rs=2 #series source resistance (KOhm)\n",
"\n",
"IN=Vs/Rs #Norton current(mA)\n",
"Rp=Rs #parallel source resistance(KOhm)\n",
"\n",
"print 'Norton current IN =',IN,'mA'\n",
"print 'Norton Resistance =',Rp,'KOhm'"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"Norton current IN = 5 mA\n",
"Norton Resistance = 2 KOhm\n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "code",
"collapsed": false,
"input": [],
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}
}
]
}
|