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
|
{
"metadata": {
"name": "",
"signature": "sha256:6fef8ff94dd52625157ad00ae0d085cf586398bc9e9ef68fa84ebe8ac86e29db"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "heading",
"level": 1,
"metadata": {},
"source": [
"Chapter13:SUPERCONDUCTIVITY"
]
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"\n",
"Ex13.1:pg-357"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#example 1\n",
"#to calculate value of Temperature\n",
"import math\n",
"Bc=105.0*10**3 #magnetic field in amp/m\n",
"Bo=150.0*10**3 #critical field of the metal in amp/m \n",
"Tc=9.2 #critical temperature of the metal in K\n",
"T=Tc*math.sqrt(1-(Bc/Bo))#temperature\n",
"print\"\\n the value of temperature is\",round(T,3),\"K\"\n",
"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"\n",
" the value of temperature is 5.039 K\n"
]
}
],
"prompt_number": 9
},
{
"cell_type": "heading",
"level": 2,
"metadata": {},
"source": [
"Ex13.2:pg-357"
]
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"#example 2\n",
"#to calculate temperature\n",
"import math\n",
"Tc=7.18 #critical temperature in K\n",
"Bc=4.5*10**3 #critical field in A/m\n",
"Bo=6.5*10**3 #critical magnetic field in A/m\n",
"T=Tc*math.sqrt(1-(Bc/Bo))# temperature\n",
"print\"\\n the temperature is\",round(T,2),\"K\"\n",
"#to calculate critical current density at that temperature\n",
"r=1*10**-3 #diameter of the wire in mm\n",
"TJc=(Bc*2*math.pi*r)/(math.pi*r**2)# critical current density\n",
"print\"\\n the critical current density at that temperature is\",round(TJc,2),\"A/m^2\"\n"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"\n",
" the temperature is 3.98 K\n",
"\n",
" the critical current density at that temperature is 9000000.0 A/m^2\n"
]
}
],
"prompt_number": 10
},
{
"cell_type": "code",
"collapsed": false,
"input": [],
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}
}
]
}
|