summaryrefslogtreecommitdiff
path: root/3755/CH3/EX3.8/Ex3_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '3755/CH3/EX3.8/Ex3_8.sce')
-rw-r--r--3755/CH3/EX3.8/Ex3_8.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3755/CH3/EX3.8/Ex3_8.sce b/3755/CH3/EX3.8/Ex3_8.sce
new file mode 100644
index 000000000..cb4ad52f4
--- /dev/null
+++ b/3755/CH3/EX3.8/Ex3_8.sce
@@ -0,0 +1,18 @@
+clear
+//
+//
+//
+
+//Variable declaration
+d=0.842*10^-10; //lattice spacing(m)
+theta1=8+(35/60); //glancing angle(degree)
+n1=1; //order
+n2=3; //order
+
+//Calculation
+theta1=theta1*%pi/180; //angle(radian)
+theta3=asin(n2*sin(theta1)); //glancing angle(radian)
+theta3=theta3*180/%pi ; //glancing angle(degree)
+
+//Result
+printf("\n glancing angle is %0.3f degree",theta3)