diff options
Diffstat (limited to '3411/CH5/EX5.13/Ex5_13.sce')
-rw-r--r-- | 3411/CH5/EX5.13/Ex5_13.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/3411/CH5/EX5.13/Ex5_13.sce b/3411/CH5/EX5.13/Ex5_13.sce new file mode 100644 index 000000000..616fd5eeb --- /dev/null +++ b/3411/CH5/EX5.13/Ex5_13.sce @@ -0,0 +1,10 @@ +//Example 5_13
+clc();
+clear;
+//To determine the lattice parameter of the material
+lamda=0.07107 //units in nm
+theta=29.71 //units in degrees
+d400=lamda/(2*sin(theta*(%pi/180))) //units in nm
+hkl=16
+a=d400*sqrt(hkl) //units in nm
+printf("Lattice parameter of the material a=%.4fnm",a)
|