#Given
V=100 #volts
#Calculation
import math
wavelength=12.3/(math.sqrt(V))
#Result
print"de Broglie wavelength of electrons ", wavelength,"A"
#Given
K=100 #ev
h=6.63*10**-34
m=9.1*10**-31
e=1.6*10**-19
#Calculation
import math
v=h/(math.sqrt(2*m*K*e))
#Result
print"de broglie wavelength of electrons ",round(v*10**10,1),"A"
#Given
m=1.675*10**-27 #mass of neutron in kg
v=1.4*10**-10 #de broglie wavelength in m
h=6.63*10**-34 #Js
#Calculation
K=(h**2/(2*m*(v**2)))/(1.6*10**-19)
#Result
print"Kinetic energy of neutron is ", round(K*10**2,2),"*10**-2 ev"
#Given
E=-3.4 #total energy in ev
h=6.63*10**-34 #Js
m=9.1*10**-31
e=1.6*10**-19
#Calculation
import math
K=-E
v=h/(math.sqrt(2*m*K*e))
#Result
print"(a) Kinetic energy ",K,"ev"
print"(b) de broglie wavelength of the electron is ",round(v*10**10,3),"A"
#Given
m=1.672*10**-27 #mass of neutron in kg
h=6.60*10**-34 #Js
v=1.0*10**-10 #de broglie wavelength in m
#Calculation
K=(h**2/(2.0*m*v**2))/(1.6*10**-19)
#Result
print"Kinetic energy of a neutron is ", round(K*10**2,2),"*10**-2 ev"
#Given
m=10*10**-3 #mass of a ball in kg
v=1 #Speed in m/s
h=6.63*10**-34 #Js
#Calculation
V=h/(m*v) #Wavelength
#Result
print "de broglie wavelength is ",V,"m"
print"This wavelength is negligible compared to the dimensions of the ball. therefore its effect can not be observed."
#Given
T=27 #temperature in degree c
K=1.38*10**-23 #boltzmann constant in J/K
h=6.63*10**-34 #Js
m=1.67*10**-27
#Calculation
import math
T1=T+273
v=h/(math.sqrt(2*m*K*T1))
#Result
print"de broglie wavelength is ",round(v*10**10,2),"A"
#Given
V=100 #ev
a=10 #degree
n=1
#Calculation
import math
v=12.3/(math.sqrt(V)) #De broglie wavelength
d=v/(2*math.sin(a*3.14/180.0))
n=(2*d)/v
#Result
print"(a) Spacing between the crystal plane is ", round(d,2),"A"
print"(b) Peaks in the interference pattern is ",round(n,2)
print"the largest possible value of n is 5"