diff options
Diffstat (limited to '3755/CH3/EX3.2')
-rw-r--r-- | 3755/CH3/EX3.2/Ex3_2.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3755/CH3/EX3.2/Ex3_2.sce b/3755/CH3/EX3.2/Ex3_2.sce new file mode 100644 index 000000000..b6c47d7b0 --- /dev/null +++ b/3755/CH3/EX3.2/Ex3_2.sce @@ -0,0 +1,16 @@ +clear
+//
+//
+//
+
+//Variable declaration
+d=3.035*10^-10; //lattice spacing(m)
+theta=12; //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.3f angstrom",lamda*10^10)
|