#To calculate the critical magnetic field intensity
#importing modules
import math
#Variable declaration
H0 = 6.5*10**4; #magnetic field intensity(A/m)
T = 4.2; #temperature(K)
Tc = 7.18; #critical temperature(K)
#Calculation
Hc = H0*(1-((T**2)/(Tc**2))); #critical magnetic field intensity(A/m)
Hc = Hc*10**-4;
Hc=math.ceil(Hc*10**3)/10**3; #rounding off to 3 decimals
#Result
print "critical magnetic field intensity is",Hc,"*10**4 A/m"
#To calculate the isotopic mass
#importing modules
import math
#Variable declaration
Tc1 = 4.185; #critical temperature for M1(K)
Tc2 = 4.133; #critical temperature for M2(K)
M1 = 199.5; #isotopic mass
alpha = 0.5;
#Calculation
A = math.pow(M1,alpha)*Tc1/Tc2;
M2 = math.pow(A,1/alpha); #isotopic mass
M2=math.ceil(M2*10**3)/10**3; #rounding off to 3 decimals
#Result
print "isotopic mass is",M2
print "answer given in the book is wrong"