diff options
Diffstat (limited to '3869/CH7/EX7.7/Ex7_7.sce')
-rw-r--r-- | 3869/CH7/EX7.7/Ex7_7.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3869/CH7/EX7.7/Ex7_7.sce b/3869/CH7/EX7.7/Ex7_7.sce new file mode 100644 index 000000000..44fa0aea4 --- /dev/null +++ b/3869/CH7/EX7.7/Ex7_7.sce @@ -0,0 +1,17 @@ +clear +// +// +// + +//Variable declaration +d=0.282 //lattice spacing(nm) +theta=(8+(35/60))*%pi/180 //glancing angle(radian) +n=1 //order + +//Calculation +lamda=2*d*sin(theta)/n //wavelength(nm) +N=2*d/lamda //maximum order of diffraction + +//Result +printf("\n wavelength is %0.3f nm",lamda) +printf("\n maximum order of diffraction is %0.3f ",N) |