summaryrefslogtreecommitdiff
path: root/Grobs_Basic_Electronics_by_M_E_Schultz/Chapter20.ipynb
blob: 01adabd9b1d76f3feb76eae14485cd257971a221 (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
{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Chapter 20 : Inductive Reactance"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example No. 20_1 Page No.  625"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The Inductive Reactance = 15709.22 Ohms\n"
     ]
    }
   ],
   "source": [
    "from math import pi\n",
    "# How much is Xl of a 6-mH L at 41.67 kHz?\n",
    "\n",
    "# Given data\n",
    "\n",
    "f = 41.67*10**3#     # Frequency=41.67 kHz\n",
    "L = 6.*10**-3#        # Inductor=6 mH\n",
    "\n",
    "Xl = 20*pi*f*L#\n",
    "print 'The Inductive Reactance = %0.2f Ohms'%Xl"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example No. 20_2 Page No.  627"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The Inductive Reactance = 37680 Ohms\n",
      "The Inductive Reactance = 1884 Ohms\n"
     ]
    }
   ],
   "source": [
    "from math import pi\n",
    "# Calculate the Xl of (a) a 10-H L at 60 Hz and (b) a 5-H L at 60 Hz.\n",
    "\n",
    "# Given  data\n",
    "\n",
    "f = 60.#     # Frequency=60 Hz\n",
    "L1 = 10.#    # Inductor 1=10 H\n",
    "L2 = 5.#     # Inductor 2=5 H\n",
    "pi = 3.14\n",
    "\n",
    "Xl1 = 20*pi*f*L1#\n",
    "print 'The Inductive Reactance = %0.f Ohms'%Xl1\n",
    "\n",
    "Xl2 = 2*pi*f*L2#\n",
    "print 'The Inductive Reactance = %0.f Ohms'%Xl2"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example No. 20_3 Page No.  629"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 5,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The Inductive Reactance = 1570 Ohms\n",
      "The Inductive Reactance = 15700 Ohms\n"
     ]
    }
   ],
   "source": [
    "from math import pi\n",
    "# Calculate the Xl of a 250-u\u0003H coil at (a) 1 MHz and (b) 10 MHz.\n",
    "\n",
    "# Given data\n",
    "\n",
    "f1 = 1.*10**6#    # Frequency1=1 MHz\n",
    "f2 = 10.0*10**6#   # Frequency2=10 MHz\n",
    "L = 250.0*10**-6#  # Inductor=250 uH\n",
    "pi = 3.14#\n",
    "\n",
    "# For 1 Mhz\n",
    "\n",
    "Xl1 = 2*pi*f1*L#\n",
    "print 'The Inductive Reactance = %0.f Ohms'%Xl1\n",
    "\n",
    "# For 10 Mhz\n",
    "\n",
    "Xl2 = 2*pi*f2*L#\n",
    "print 'The Inductive Reactance = %0.f Ohms'%Xl2"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example No. 20_4 Page No.  631"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 7,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The Inductive Reactance = 6280 Ohms\n"
     ]
    }
   ],
   "source": [
    "# A coil with negligible resistance has 62.8 V across it with 0.01 A of current. How much is Xl?\n",
    "\n",
    "# Given data\n",
    "\n",
    "Vl = 62.8#      # Voltage across coil=62.8 Volts\n",
    "Il = 0.01#      # Current in coil=0.01 Amps\n",
    "\n",
    "Xl = Vl/Il#\n",
    "print 'The Inductive Reactance = %0.f Ohms'%Xl"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example No. 20_5 Page No.  632"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The value of Inductor = 1.00 Henry\n"
     ]
    }
   ],
   "source": [
    "from math import pi\n",
    "# Calculate L of the coil when the frequency is 1000 Hz.\n",
    "\n",
    "# Given data\n",
    "\n",
    "Xl = 6280.#      # Inductive reactance=6280 Ohms\n",
    "f = 1000.#       # Frequency=1000 Hz\n",
    "pi = 3.14#\n",
    "\n",
    "L = Xl/(2.*pi*f)#\n",
    "print'The value of Inductor = %0.2f Henry'% L"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example No. 20_6 Page No.  633"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The value of Inductor = 2.08e-04 Henry\n",
      "i.e Approx 208.8*10**-6 OR 208.8 uH\n"
     ]
    }
   ],
   "source": [
    "from math import pi\n",
    "# Calculate L of a coil that has 15,700 Ohms\u0003 of Xl at 12 MHz.\n",
    "\n",
    "# Given data\n",
    "\n",
    "Xl = 15700.#    # Inductive reactance=15700 Ohms\n",
    "f = 12.0*10**6#   # Frequency=12 MHz\n",
    "pi = 3.14#\n",
    "\n",
    "L = Xl/(2*pi*f)#\n",
    "print'The value of Inductor = %0.2e Henry'% L\n",
    "print 'i.e Approx 208.8*10**-6 OR 208.8 uH'"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example No. 20_7 Page No.  634"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 13,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The Frequency = 159.15 Hertz\n"
     ]
    }
   ],
   "source": [
    "from math import pi\n",
    "# At what frequency will an inductance of 1 H have a reactance of 1000 \u0003?\n",
    "\n",
    "# Given data\n",
    "\n",
    "Xl = 1000.#    # Inductive reactance=1000 Ohms\n",
    "L = 1.#        # Inductor=1 H\n",
    "\n",
    "f = Xl/(2.*pi*L)#\n",
    "print 'The Frequency = %0.2f Hertz'%f"
   ]
  }
 ],
 "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
}