blob: 3dc2c5b2d8100352c1337387ea0887d781d27df2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// Example 2.35, page no-51
clear
clc
e=1.6*10^-19//C
h=6.626*10^-34
m=9.1*10^-31//kg
ek=235.2*e
n=1
theta=9.21
lam=h/sqrt(2*m*ek)
d=n*lam/(2*sin(theta*%pi/180))
printf("\nThe deBroglie wavelength of electron is %.3f *10^-11 m\nThe interplanar spacing is %.3f *10^-10 m",lam*10^11,d*10^10)
|