15: Magnetism

Example number 1, Page number 375

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

#Variable declaration   
chi1=2.8*10**-4;        #susceptibility
T1=350;         #temperature(K)
T2=300;         #temperature(K)

#Calculations
chi2=chi1*(T1/T2);        #susceptibility at 300K

#Result
print "susceptibility at 300K is",round(chi2*10**4,3),"*10**-4"
susceptibility at 300K is 3.267 *10**-4