12: Superconductivity

Example number 12.1, Page number 294

In [3]:
#importing modules
import math
from __future__ import division

#Variable declaration
Tc = 9.2;        #critical temperature of metal(K)
Bc = 1.05*10**5;        #magnetic field(amp/m)
B0 = 1.5*10**5;         #critical field(amp/m)

#Calculation
T = math.sqrt((Tc**2)*(1-(Bc/B0)));        #temperature of metal(K)
T = math.ceil(T*10**4)/10**4;   #rounding off to 4 decimals

#Result
print "temperature of the metal is",T,"K"
temperature of the metal is 5.0391 K

Example number 12.2, Page number 295

In [6]:
#importing modules
import math
from __future__ import division

#Variable declaration
Tc1 = 4.185;        #critical temperature of Hg(K)
M1 = 199.5;         #isotopic mass(gm)
M2 = 203.4;         #changed isotopic mass(gm)

#Calculation
Tc2 = Tc1*math.sqrt(M1/M2);       #changed critical temperature(K)
Tc2 = math.ceil(Tc2*10**3)/10**3;   #rounding off to 3 decimals

#Result
print "changed critical temperature of Hg is",Tc2,"K"
changed critical temperature of Hg is 4.145 K