summaryrefslogtreecommitdiff
path: root/Engineering_Physics/Chapter14_1.ipynb
blob: 1191c56fef22d580c0093b355ddf2b3685d49b3a (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
{
 "metadata": {
  "name": "",
  "signature": "sha256:03a15735237144f42a49956ccb15694e3ce619fee35260180caccfe8f848e036"
 },
 "nbformat": 3,
 "nbformat_minor": 0,
 "worksheets": [
  {
   "cells": [
    {
     "cell_type": "heading",
     "level": 1,
     "metadata": {},
     "source": [
      "14: Magnetic Properties of Materials"
     ]
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example number 14.1, Page number 306"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      " \n",
      "#importing modules\n",
      "import math\n",
      "from __future__ import division\n",
      "\n",
      "#Variable declaration\n",
      "N = 6.02*10**23;      #Avogadro's number(per mole)\n",
      "A = 56;      #Atomic weight of the substance(g/mole)\n",
      "d = 7.9;     #Density of the substance(g/cm**3)\n",
      "m_B = 9.27*10**-24;     #Bohr's Magneton(J/T)\n",
      "\n",
      "#Calculation\n",
      "m = 2.2*m_B;       #Magnetic moment of substance(J/T)\n",
      "n = d*N/A ;      #Number of atoms per unit volume of the substance(per cm**3)\n",
      "n = n*10**6;     #Number of atoms per unit volume of the substance(per m**3)\n",
      "M = n*m;         #Spontaneous magnetisation of the substance(A/m)\n",
      "M = M/10**6;\n",
      "M = math.ceil(M*10**3)/10**3;     #rounding off the value of M to 3 decimals\n",
      "\n",
      "#Result\n",
      "print \"The spontaneous magnetisation of the substance is\",M,\"*10**6 A/m\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The spontaneous magnetisation of the substance is 1.732 *10**6 A/m\n"
       ]
      }
     ],
     "prompt_number": 5
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example number 14.2, Page number 307"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      " \n",
      "#importing modules\n",
      "import math\n",
      "from __future__ import division\n",
      "\n",
      "#Variable declaration\n",
      "H = 200;        #Field strength to which the ferromagnetic material is subjected(A/m)\n",
      "M = 3100;       #Magnetisation of the ferromagnetic material(A/m)\n",
      "\n",
      "#Calculation\n",
      "chi = M/H;      #Magnetic susceptibility\n",
      "mew_r = 1 + chi;    #Relative permeability of ferromagnetic material\n",
      "\n",
      "#Result\n",
      "print \"The relative permeability of ferromagnetic material is\",mew_r"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The relative permeability of ferromagnetic material is 16.5\n"
       ]
      }
     ],
     "prompt_number": 6
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example number 14.3, Page number 307"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      " \n",
      "#importing modules\n",
      "import math\n",
      "from __future__ import division\n",
      "\n",
      "#Variable declaration\n",
      "H = 300;        #Field strength to which the ferromagnetic material is subjected(A/m)\n",
      "M = 4400;       #Magnetisation of the ferromagnetic material(A/m)\n",
      "\n",
      "#Calculation\n",
      "chi = M/H;      #Magnetic susceptibility\n",
      "mew_r = 1 + chi;    #Relative permeability of ferromagnetic material\n",
      "mew_r = math.ceil(mew_r*100)/100;     #rounding off the value of mew_r to 2 decimals\n",
      "\n",
      "#Result\n",
      "print \"The relative permeability of ferromagnetic material is\",mew_r\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The relative permeability of ferromagnetic material is 15.67\n"
       ]
      }
     ],
     "prompt_number": 7
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example number 14.4, Page number 307"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      " \n",
      "#importing modules\n",
      "import math\n",
      "\n",
      "#Variable declaration\n",
      "mew_0 = 4*math.pi*10**-7;       #Magnetic permeability of free space(Tm/A)\n",
      "H = 10000;         #Field strength to which the diamagnetic material is subjected(A/m)\n",
      "chi = -0.4*10**-5;       #Magnetic susceptibility\n",
      "\n",
      "#Calculation\n",
      "M = chi*H;        #Magnetisation of the diamagnetic material(A/m)\n",
      "B = mew_0*(H + M);      #Magnetic flux density of diamagnetic material(T)\n",
      "B = math.ceil(B*10**4)/10**4;     #rounding off the value of B to 4 decimals\n",
      "\n",
      "#Result\n",
      "print \"The magnetisation of diamagnetic material is\",M, \"A/m\"\n",
      "print \"The magnetic flux density of diamagnetic material is\",B, \"T\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The magnetisation of diamagnetic material is -0.04 A/m\n",
        "The magnetic flux density of diamagnetic material is 0.0126 T\n"
       ]
      }
     ],
     "prompt_number": 8
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example number 14.5, Page number 307"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      " \n",
      "#importing modules\n",
      "import math\n",
      "from __future__ import division\n",
      "\n",
      "#Variable declaration\n",
      "mew_0 = 4*math.pi*10**-7;      #Magnetic permeability of free space(Tm/A)\n",
      "H = 1.2*10**5;      #Field strength to which the diamagnetic material is subjected(A/m)\n",
      "chi = -4.2*10**-6;      #Magnetic susceptibility\n",
      "\n",
      "#Calculation\n",
      "M = chi*H;      #Magnetisation of the diamagnetic material(A/m)\n",
      "B = mew_0*(H + M);     #Magnetic flux density of diamagnetic material(T)\n",
      "B = math.ceil(B*10**3)/10**3;     #rounding off the value of B to 3 decimals\n",
      "mew_r = M/H + 1;       #The relative permeability of diamagnetic material\n",
      "mew_r = math.ceil(mew_r*10**6)/10**6;     #rounding off the value of mew_r to 6 decimals\n",
      "\n",
      "#Result\n",
      "print \"The magnetisation of diamagnetic material is\",M, \"A/m\"\n",
      "print \"The magnetic flux density of diamagnetic material is\",B, \"T\"\n",
      "print \"The relative permeability of diamagnetic material is\",mew_r\n"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The magnetisation of diamagnetic material is -0.504 A/m\n",
        "The magnetic flux density of diamagnetic material is 0.151 T\n",
        "The relative permeability of diamagnetic material is 0.999996\n"
       ]
      }
     ],
     "prompt_number": 10
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example number 14.6, Page number 308"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      " \n",
      "#importing modules\n",
      "import math\n",
      "from __future__ import division\n",
      "\n",
      "#Variable declaration\n",
      "chi = 5.6*10**-6;      #Magnetic susceptibility of diamagnetic material\n",
      "m = 9.1*10**-31;      #Mass of an electron(kg)\n",
      "mew_0 = 4*math.pi*10**-7;      #Magnetic permeability of free space(Tm/A)\n",
      "Z = 1;      #Atomic number\n",
      "e = 1.6*10**-19;     #Electronic charge(C)\n",
      "a = 2.53;     #Lattice parameter of bcc structure(A)\n",
      "\n",
      "#Calculation\n",
      "a = a*10**-10;    #Lattice parameter of bcc structure(m)\n",
      "N = 2/a**3;       #The number of electrons per unit volume(per metre cube)\n",
      "r = math.sqrt(chi*6*m/(mew_0*Z*e**2*N));    #Mean radius of body centered cubic structure(m)\n",
      "r = r*10**10;      #Mean radius of body centered cubic structure(A)\n",
      "r = math.ceil(r*100)/100;     #rounding off the value of r to 2 decimals\n",
      "\n",
      "#Result\n",
      "print \"The mean radius of body centered cubic structure is\",r, \"A\""
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The mean radius of body centered cubic structure is 0.88 A\n"
       ]
      }
     ],
     "prompt_number": 11
    },
    {
     "cell_type": "heading",
     "level": 2,
     "metadata": {},
     "source": [
      "Example number 14.7, Page number 308"
     ]
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [
      "\n",
      "#importing modules\n",
      "import math\n",
      "from __future__ import division\n",
      "\n",
      "#Variable declaration\n",
      "mew_0 = 4*math.pi*10**-7;     #Magnetic permeability of free space(Tm/A)\n",
      "N_A = 6.02*10**26;       #Avogadro's number(per kmol)\n",
      "rho = 4370;       #Density of paramegnetic salt(kg/metre cube)\n",
      "M = 168.5;      #Molecular weight of paramagnetic salt(g/mol)\n",
      "T = 27;     #Temperature of paramagnetic salt(C)\n",
      "H = 2*10**5;     #Field strength to which the  paramagnetic salt is subjected(A/m)\n",
      "mew_B = 9.27*10**-24;      #Bohr's magneton(Am**2)\n",
      "p = 2;          #Number of Bohr magnetons per molecule\n",
      "k = 1.38*10**-23;      #Boltzmann constant(J/K)\n",
      "\n",
      "#Calculation\n",
      "T = T+273;     #Temperature of paramagnetic salt(K)\n",
      "N = rho*N_A/M;       #Total density of atoms in the paramagnetic salt(per meter cube)\n",
      "chi_para = mew_0*N*p**2*mew_B**2/(3*k*T);      #Magnetic susceptibility of paramagnetic salt\n",
      "chi_para = chi_para*10**4;\n",
      "chi_para = math.ceil(chi_para*10**2)/10**2;     #rounding off the value of chi_para to 2 decimals\n",
      "M = chi*H;       #Magnetisation of paramagnetic salt(A/m)\n",
      "M = math.ceil(M*10)/10;     #rounding off the value of M to 1 decimal\n",
      "\n",
      "#Result\n",
      "print \"The magnetic susceptibility of paramagnetic salt is\",chi_para,\"*10**-4\"\n",
      "print \"The magnetisation of paramagnetic salt is\",M, \"A/m\"\n",
      "\n",
      "#answer for magnetisation is not given in the textbook"
     ],
     "language": "python",
     "metadata": {},
     "outputs": [
      {
       "output_type": "stream",
       "stream": "stdout",
       "text": [
        "The magnetic susceptibility of paramagnetic salt is 5.43 *10**-4\n",
        "The magnetisation of paramagnetic salt is 1.2 A/m\n"
       ]
      }
     ],
     "prompt_number": 14
    },
    {
     "cell_type": "code",
     "collapsed": false,
     "input": [],
     "language": "python",
     "metadata": {},
     "outputs": []
    }
   ],
   "metadata": {}
  }
 ]
}