summaryrefslogtreecommitdiff
path: root/3537/CH5/EX5.9/Ex5_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH5/EX5.9/Ex5_9.sce')
-rw-r--r--3537/CH5/EX5.9/Ex5_9.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/3537/CH5/EX5.9/Ex5_9.sce b/3537/CH5/EX5.9/Ex5_9.sce
new file mode 100644
index 000000000..ca71f5780
--- /dev/null
+++ b/3537/CH5/EX5.9/Ex5_9.sce
@@ -0,0 +1,14 @@
+//Example 5_9
+clc();
+clear;
+//To calculate the glancing angle
+theta1=8.58 //units in degrees
+n1=3
+lamda1=0.842 //units in A
+n2=3
+lamda2=0.842 //units in A
+sintheta3=(sin(theta1*%pi/180)*n1*lamda1)/(n2*lamda2)
+theta3=asin(sintheta3)*180/%pi*3
+printf("The Glancing angle is Theta3=%.2f degrees",theta3)
+
+