diff options
Diffstat (limited to '3537/CH4/EX4.13')
-rw-r--r-- | 3537/CH4/EX4.13/Ex4_13.sce | 12 | ||||
-rw-r--r-- | 3537/CH4/EX4.13/Ex4_13.txt | 1 |
2 files changed, 13 insertions, 0 deletions
diff --git a/3537/CH4/EX4.13/Ex4_13.sce b/3537/CH4/EX4.13/Ex4_13.sce new file mode 100644 index 000000000..3d3a88d05 --- /dev/null +++ b/3537/CH4/EX4.13/Ex4_13.sce @@ -0,0 +1,12 @@ +//Example 4_13
+clc();
+clear;
+//To calculate the glancing angle for the second order diffraction
+lemda=0.071*10^-9 //units in meters
+a=0.28*10^-9 //units in meters
+h=1
+k=1
+l=0
+n=2
+theta=(asin((n*lemda)/(2*(a/(sqrt(h^2+k^2+l^2))))))*180/%pi
+printf("The glancing angle for the second order diffraction is %.2f degrees",theta)
diff --git a/3537/CH4/EX4.13/Ex4_13.txt b/3537/CH4/EX4.13/Ex4_13.txt new file mode 100644 index 000000000..e7560c278 --- /dev/null +++ b/3537/CH4/EX4.13/Ex4_13.txt @@ -0,0 +1 @@ +The glancing angle for the second order diffraction is 21.01 degrees
\ No newline at end of file |