diff options
Diffstat (limited to '3755/CH3/EX3.1/Ex3_1.sce')
-rw-r--r-- | 3755/CH3/EX3.1/Ex3_1.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3755/CH3/EX3.1/Ex3_1.sce b/3755/CH3/EX3.1/Ex3_1.sce new file mode 100644 index 000000000..b753e42f6 --- /dev/null +++ b/3755/CH3/EX3.1/Ex3_1.sce @@ -0,0 +1,16 @@ +clear
+//
+//
+//
+
+//Variable declaration
+d=2.82*10^-10; //lattice spacing(m)
+theta=10; //glancing angle(degree)
+n=1; //order
+
+//Calculation
+theta=theta*%pi/180; //angle(radian)
+lamda=2*d*sin(theta)/n; //wavelength(m)
+
+//Result
+printf("\n wavelength is %0.5f angstrom",lamda*10^10)
|