diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1865/CH3/EX3.7/prob_7.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '1865/CH3/EX3.7/prob_7.sce')
-rw-r--r-- | 1865/CH3/EX3.7/prob_7.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/1865/CH3/EX3.7/prob_7.sce b/1865/CH3/EX3.7/prob_7.sce new file mode 100644 index 000000000..b053ce769 --- /dev/null +++ b/1865/CH3/EX3.7/prob_7.sce @@ -0,0 +1,15 @@ + +//Problem 7
+//Calculation of various orders in which Bragg's reflection takes place
+clear
+clc
+w=1.5//wavelength of monochromatic X-rays in A
+d=1.61//interplanar spacing in A
+a=1,b=2,c=3//a=1 for 1st order b=2 for 2nd order and c=3 for 3rd order
+x=asind((a*w)/(2*d))//angle of reflection in 1st order in degrees
+y=asind((b*w)/(2*d))//angle of reflection in 2nd order in degrees
+Q=(c*w)/(2*d)//Q is the sine of angle of reflection in 3rd order
+printf('angle of reflection in 1st order = %.3f degrees\n',x)
+printf('angle of reflection in 2nd order = %.3f degrees\n',y)
+printf('sine of angle of reflection in 3rd order = %.3f \n',Q)
+printf('now z(angle of reflection in 3rd order ) > 90 degrees therefore there is no third order maxima \n hence 1st and 2nd order maxima would be possible')
\ No newline at end of file |