diff options
Diffstat (limited to '3537/CH5/EX5.17/Ex5_17.sce')
-rw-r--r-- | 3537/CH5/EX5.17/Ex5_17.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3537/CH5/EX5.17/Ex5_17.sce b/3537/CH5/EX5.17/Ex5_17.sce new file mode 100644 index 000000000..884f58c42 --- /dev/null +++ b/3537/CH5/EX5.17/Ex5_17.sce @@ -0,0 +1,14 @@ +//Example 5_17
+clc();
+clear;
+//To compare the density of lattice points
+//For (110) plane
+area=sqrt(2) //units in a
+areacontains=(1/4)*4
+density=1/area //units in a
+//(111) plane
+areaa=1/sqrt(2) //interms of a
+eo=sqrt(3)/sqrt(2)
+area1=eo/sqrt(2)
+density=(3*(1/6))/(area1)
+printf("The ratio of density of planes is %.3f:%.3f",sqrt(2),sqrt(3))
|