Chapter 13: Solids - Conductors and Semiconductors

Example 13.1, Page 453

In [1]:
import math

#Variable declaration
m=9.11*10**-31#in kg
h=6.63*10**-34#in j-s

#Calculations
ef=4.72*1.60*10**-19#in J
n=math.pi*(((8*m)/h**2)**(3./2))*((ef**(3./2))/3)

#Result
print "The number of electron per unit volume in lithium is  %.2e  /m**3"%n
The number of electron per unit volume in lithium is  4.64e+28  /m**3

Example 13.3, Page 465

In [2]:
import math

#Variable declaration
m=9.11*10**-31#in kg
h=6.63*10**-34#in j-s
c=3*10**8#m/s
ef=4.72*1.60*10**-19#in J

#Calculations
pf=math.sqrt(2*m*ef)
tf=pf/(m*c)

#Result
print "The angle is  %.2e  rad"%tf
The angle is  4.29e-03  rad