summaryrefslogtreecommitdiff
path: root/3755/CH3/EX3.4/Ex3_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3755/CH3/EX3.4/Ex3_4.sce')
-rw-r--r--3755/CH3/EX3.4/Ex3_4.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3755/CH3/EX3.4/Ex3_4.sce b/3755/CH3/EX3.4/Ex3_4.sce
new file mode 100644
index 000000000..8f5ebf42e
--- /dev/null
+++ b/3755/CH3/EX3.4/Ex3_4.sce
@@ -0,0 +1,15 @@
+clear
+//
+//
+//
+
+//Variable declaration
+lamda=1.54; //wavelength(angstrom)
+theta=11; //glancing angle(degree)
+
+//Calculation
+theta=theta*%pi/180; //angle(radian)
+d=lamda/(2*sin(theta)); //separation between lattice planes(angstrom)
+
+//Result
+printf("\n separation between lattice planes is %0.3f angstrom",d)