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
360
361
|
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"# 16: Superconductivity"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example number 1, Page number 384"
]
},
{
"cell_type": "code",
"execution_count": 4,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"critical magnetic field is 6.37 *10**4 A/m\n"
]
}
],
"source": [
"#importing modules\n",
"import math\n",
"from __future__ import division\n",
"\n",
"#Variable declaration \n",
"HcT=3.3*10**4; #critical magnetic field(A/m)\n",
"T=5; #temperature(K)\n",
"Tc=7.2; #critical temperature(K)\n",
"\n",
"#Calculations\n",
"Hc0=HcT/(1-(T/Tc)**2); #magnetic field(A/m)\n",
"\n",
"#Result\n",
"print \"magnetic field is\",round(Hc0/10**4,2),\"*10**4 A/m\""
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example number 2, Page number 384"
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"temperature is 7.08 K\n"
]
}
],
"source": [
"#importing modules\n",
"import math\n",
"from __future__ import division\n",
"\n",
"#Variable declaration \n",
"HcT=4*10**4; #critical magnetic field(A/m)\n",
"Tc=7.26; #critical temperature(K)\n",
"Hc0=8*10**5; #magnetic field(A/m)\n",
"\n",
"#Calculations\n",
"T=Tc*math.sqrt(1-(HcT/Hc0)); #temperature(K)\n",
"\n",
"#Result\n",
"print \"temperature is\",round(T,2),\"K\""
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example number 3, Page number 384"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"temperature is 6.83 K\n"
]
}
],
"source": [
"#importing modules\n",
"import math\n",
"from __future__ import division\n",
"\n",
"#Variable declaration \n",
"Hc0=1; #assume\n",
"HcT=0.1*Hc0; #critical magnetic field(A/m)\n",
"Tc=7.2; #critical temperature(K)\n",
"\n",
"#Calculations\n",
"T=Tc*math.sqrt(1-(HcT/Hc0)); #temperature(K)\n",
"\n",
"#Result\n",
"print \"temperature is\",round(T,2),\"K\""
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example number 4, Page number 385"
]
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"critical magnetic field is 0.0217 tesla\n"
]
}
],
"source": [
"#importing modules\n",
"import math\n",
"from __future__ import division\n",
"\n",
"#Variable declaration \n",
"Hc0=0.0306; #magnetic field(Tesla)\n",
"T=2; #temperature(K)\n",
"Tc=3.7; #critical temperature(K)\n",
"\n",
"#Calculations\n",
"HcT=Hc0*(1-(T/Tc)**2); #critical magnetic field(tesla)\n",
"\n",
"#Result\n",
"print \"critical magnetic field is\",round(HcT,4),\"tesla\""
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example number 5, Page number 385"
]
},
{
"cell_type": "code",
"execution_count": 24,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"transition temperature is 8.21 K\n",
"answer given in the book is wrong\n"
]
}
],
"source": [
"#importing modules\n",
"import math\n",
"from __future__ import division\n",
"\n",
"#Variable declaration \n",
"HcT=1*10**4; #critical magnetic field(A/m)\n",
"T=8; #temperature(K)\n",
"Hc0=2*10**5; #magnetic field(A/m)\n",
"\n",
"#Calculations\n",
"Tc=T/math.sqrt(1-(HcT/Hc0)); #transition temperature(K)\n",
"\n",
"#Result\n",
"print \"transition temperature is\",round(Tc,2),\"K\"\n",
"print \"answer given in the book is wrong\""
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example number 6, Page number 385"
]
},
{
"cell_type": "code",
"execution_count": 29,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"transition temperature is 14.5 K\n",
"critical field at 0K is 20.66 *10**5 A/m\n",
"critical field at 4.2K is 18.9 *10**5 A/m\n"
]
}
],
"source": [
"#importing modules\n",
"import math\n",
"from __future__ import division\n",
"\n",
"#Variable declaration \n",
"Hc1=1.4*10**5; #critical magnetic field(A/m)\n",
"Hc2=4.2*10**5; #critical magnetic field(A/m)\n",
"T1=14; #temperature(K)\n",
"T2=13; #temperature(K)\n",
"T3=4.2; #temperature(K)\n",
"\n",
"#Calculations\n",
"Tc=round(math.sqrt(((Hc1*T2**2)-(Hc2*T1**2))/(Hc1-Hc2)),1); #transition temperature(K)\n",
"H0=Hc1/(1-(T1/Tc)**2); #critical field at 0K(A/m)\n",
"Hc=H0*(1-(T3/Tc)**2); #critical field at 4.2K(A/m)\n",
"\n",
"#Result\n",
"print \"transition temperature is\",Tc,\"K\"\n",
"print \"critical field at 0K is\",round(H0/10**5,2),\"*10**5 A/m\"\n",
"print \"critical field at 4.2K is\",round(Hc/10**5,1),\"*10**5 A/m\""
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example number 7, Page number 390"
]
},
{
"cell_type": "code",
"execution_count": 31,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"critical current is 24.819 amp\n"
]
}
],
"source": [
"#importing modules\n",
"import math\n",
"from __future__ import division\n",
"\n",
"#Variable declaration \n",
"r=(10**-3)/2; #radius(m)\n",
"Hc=7.9*10**3; #critical field(A/m)\n",
"\n",
"#Calculations\n",
"Ic=2*math.pi*r*Hc; #critical current(amp)\n",
"\n",
"#Result\n",
"print \"critical current is\",round(Ic,3),\"amp\""
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Example number 8, Page number 390"
]
},
{
"cell_type": "code",
"execution_count": 37,
"metadata": {
"collapsed": false
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"critical magnetic field is 4.276 *10**4 A/m\n",
"critical current is 134.3 amp\n",
"current density is 1.71 *10**8 A/m**2\n"
]
}
],
"source": [
"#importing modules\n",
"import math\n",
"from __future__ import division\n",
"\n",
"#Variable declaration \n",
"Hc0=6.5*10**4; #magnetic field(Tesla)\n",
"T=4.2; #temperature(K)\n",
"Tc=7.18; #critical temperature(K)\n",
"r=(10**-3)/2; #radius(m)\n",
"\n",
"#Calculations\n",
"HcT=Hc0*(1-(T/Tc)**2); #critical magnetic field(tesla)\n",
"Ic=2*math.pi*r*HcT; #critical current(amp)\n",
"A=math.pi*r**2; #area(m**2)\n",
"Jc=Ic/A; #current density(A/m**2)\n",
"\n",
"#Result\n",
"print \"critical magnetic field is\",round(HcT/10**4,3),\"*10**4 A/m\"\n",
"print \"critical current is\",round(Ic,1),\"amp\"\n",
"print \"current density is\",round(Jc/10**8,2),\"*10**8 A/m**2\""
]
}
],
"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.11"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
|