diff options
Diffstat (limited to '3869/CH6/EX6.24/Ex6_24.sce')
-rw-r--r-- | 3869/CH6/EX6.24/Ex6_24.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3869/CH6/EX6.24/Ex6_24.sce b/3869/CH6/EX6.24/Ex6_24.sce new file mode 100644 index 000000000..68de8c9fc --- /dev/null +++ b/3869/CH6/EX6.24/Ex6_24.sce @@ -0,0 +1,16 @@ +clear +// +// +// + +//Variable declaration +h=1 +k=1 +l=0 //miller indices +a=0.38 //lattice constant(nm) + +//Calculation +d=a/sqrt(h**2+k**2+l**2) //distance between the planes(nm) + +//Result +printf("\n distance between the planes is %0.2f nm",d) |