summaryrefslogtreecommitdiff
path: root/Grobs_Basic_Electronics_by_M_E_Schultz/Chapter13.ipynb
blob: 89a82ed0131da27c4baaaac9632c0c67edb015cb (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
{
 "cells": [
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "# Chapter 13 : Magnetism"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example No. 13_1 Page No.  291"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 6,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The 25000 Maxwell = 2.50e-04 Wabers\n",
      "i.e 250*10**-6 Wb or 250 uWb\n",
      "The 0.005 Wabers = 500000.00 Maxwell\n",
      "i.e 5.0*10**5 Mx\n"
     ]
    }
   ],
   "source": [
    "# Make the following conversions: (a) 25,000 Mx to Wb# (b) 0.005 Wb to Mx.\n",
    "\n",
    "# Given data\n",
    "\n",
    "A = 25000.0#          # A=25000 Maxwell\n",
    "B = 0.005#          # B=0.005 Wabers\n",
    "C = 1*10**8#         # Conversion Factor\n",
    "\n",
    "Wb = A*(1.0/C)#\n",
    "print 'The 25000 Maxwell = %0.2e Wabers'%Wb\n",
    "print 'i.e 250*10**-6 Wb or 250 uWb'\n",
    "\n",
    "Mx = B*C#\n",
    "print 'The 0.005 Wabers = %0.2f Maxwell'%Mx\n",
    "print 'i.e 5.0*10**5 Mx'"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example No. 13_2 Page No.  392"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The Flux Density = 2000.00 Guass (G)\n"
     ]
    }
   ],
   "source": [
    "# With a flux of 10,000 Mx through a perpendicular area of 5 sqcm, what is the flux density in gauss?\n",
    "\n",
    "# Given data\n",
    "\n",
    "A = 5.#      # Area=5 sqcm\n",
    "flux = 10000.0# # Total Flux=10000 Mx\n",
    "\n",
    "B = flux/A#\n",
    "print 'The Flux Density = %0.2f Guass (G)'%B"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example No. 13_3 Page No.  394"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 9,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The Flux Density = 0.80 Tesla (T)\n"
     ]
    }
   ],
   "source": [
    "# With a flux of 400 u\u0002Wb through an area of 0.0005 sqm, what is the flux density B in tesla units?\n",
    "\n",
    "# Given data\n",
    "\n",
    "A = 0.0005#          # Area=0.0005 sqm\n",
    "flux = 400*10**-6#    # Total Flux=400 uWb\n",
    "\n",
    "B = flux/A#\n",
    "print 'The Flux Density = %0.2f Tesla (T)'%B"
   ]
  },
  {
   "cell_type": "markdown",
   "metadata": {},
   "source": [
    "## Example No. 13_4 Page No.  394"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 10,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "The 0.003 Tesla = 30.00 Guass\n",
      "The 15,000 Guass = 1.50 Tesla\n"
     ]
    }
   ],
   "source": [
    "# Make the following conversions: (a) 0.003 T to G# (b) 15,000 G to T.\n",
    "\n",
    "# Given data\n",
    "\n",
    "A = 0.003#          # A=0.003 Tesla\n",
    "B = 15000.#          # B=15000 Guass\n",
    "C = 1.*10**4#         # Conversion Factor\n",
    "\n",
    "G = A*C#\n",
    "print 'The 0.003 Tesla = %0.2f Guass'%G\n",
    "\n",
    "T = B*(1/C)#\n",
    "print 'The 15,000 Guass = %0.2f Tesla'%T"
   ]
  }
 ],
 "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
}