summaryrefslogtreecommitdiff
path: root/3701/CH4/EX4.10/Ex4_10.sce
blob: b47c68936a78edb086e94d91f4476849337d8e25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
////Given
V=100                                    //ev
a=10                                     //degree
n=1

//Calculation
//
v=12.3/(sqrt(V))                   //De broglie wavelength
d=v/(2*sin(a*3.14/180.0))
n=(2*d)/v

//Result
printf("\n (a) Spacing between the crystal plane is  %0.2f A",d)
printf("\n (b) Peaks in the interference pattern is  %0.2f ",n)
printf("\n the largest possible value of n is 5")