diff options
Diffstat (limited to '3768/CH3/EX3.10/Ex3_10.sce')
-rw-r--r-- | 3768/CH3/EX3.10/Ex3_10.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/3768/CH3/EX3.10/Ex3_10.sce b/3768/CH3/EX3.10/Ex3_10.sce new file mode 100644 index 000000000..4b3c2c2ef --- /dev/null +++ b/3768/CH3/EX3.10/Ex3_10.sce @@ -0,0 +1,19 @@ +//Example number 3.10, Page number 49 +clc;clear; +close; + +//Variable declaration +r=0.1278*10**-9; //atomic radius(m) +h1=1; +k1=1; +l1=1; +h2=3; +k2=2; +l2=1; +//Calculation +a=2*sqrt(2)*r; +d111=a*10**10/sqrt(h1**2+k1**2+l1**2); //interplanar spacing for (111) +d321=a*10**10/sqrt(h2**2+k2**2+l2**2); //interplanar spacing for (321) +//Result +printf("interplanar spacing for (111) is %.3f Angstrom",d111) +printf("\n interplanar spacing for (321) is %.3f Angstrom",d321) |