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
|
{
"metadata": {
"name": "",
"signature": "sha256:0a1f9cbfac6e4a80fe362c0012a4a307feac15a79ecc69bd2a9d9a5220fc3bbc"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter21-Magnetic Materials"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Ex1-pg612"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"##Example 21.1\n",
"##calculation of magnetizing force and relative permeability\n",
"\n",
"##given values\n",
"M=2300.;##magnetization in A/m\n",
"B=.00314;##flux density in Wb/m**2\n",
"u=12.57*10**-7.;##permeability in H/m\n",
"\n",
"##calculation\n",
"H=(B/u)-M;\n",
"print'%s %.2f %s'%('magnetizing force(in A/m)is ',H,'');\n",
"Ur=B/(u*H);\n",
"print'%s %.2f %s'%('relative permeability is',Ur,'')\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"magnetizing force(in A/m)is 198.01 \n",
"relative permeability is 12.62 \n"
]
}
],
"prompt_number": 1
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Ex2-pg613"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"##Example 21.2\n",
"##calculation of magnetization and magnetic flux density\n",
"\n",
"##given values\n",
"H=10**5;##external field in A/m\n",
"X=5*10**-5;##susceptibility \n",
"u=12.57*10**-7;##permeability in H/m\n",
"\n",
"##calculation\n",
"M=X*H;\n",
"print'%s %.2f %s'%('magnetization (in A/m)is ',M,'');\n",
"B=u*(M+H);\n",
"print'%s %.2f %s'%('magnetic flux density (in wb/m^2) is',B,'')\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"magnetization (in A/m)is 5.00 \n",
"magnetic flux density (in wb/m^2) is 0.13 \n"
]
}
],
"prompt_number": 4
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Ex3-pg615"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"import math\n",
"##Example 21.3\n",
"##calculation of relative permeability\n",
"\n",
"##given values\n",
"\n",
"X=3.7*10**-3;##susceptibility at 300k\n",
"T=300;##temp in K\n",
"T1=200;##temp in K\n",
"T2=500;##temp in K\n",
"\n",
"##calculation\n",
"C=X*T;##curie constant\n",
"XT1=C/T1;\n",
"print'%s %.4f %s'%('relative permeability at T1 is ',XT1,'');\n",
"XT2=C/T2;\n",
"print'%s %.3f %s'%('relative permeability at T2 is',XT2,'')\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"relative permeability at T1 is 0.0056 \n",
"relative permeability at T2 is 0.002 \n"
]
}
],
"prompt_number": 3
}
],
"metadata": {}
}
]
}
|