diff options
Diffstat (limited to '1427/CH22/EX22.20/22_20.sce')
-rw-r--r-- | 1427/CH22/EX22.20/22_20.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/1427/CH22/EX22.20/22_20.sce b/1427/CH22/EX22.20/22_20.sce new file mode 100644 index 000000000..93562aafe --- /dev/null +++ b/1427/CH22/EX22.20/22_20.sce @@ -0,0 +1,10 @@ +//ques-22.20
+//Calculating glancing angle required
+clc
+a=305;//edge length (in pm)
+w=150;//wavelength (in pm)
+d=a/sqrt(2);
+c=w/(2*d);
+//For sind(ang) = c
+ang=20.35;
+printf("The glancing angle is %.2f degrees.",ang);
|