diff options
Diffstat (limited to '3828/CH10/EX10.7')
-rw-r--r-- | 3828/CH10/EX10.7/Ex10_7.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3828/CH10/EX10.7/Ex10_7.sce b/3828/CH10/EX10.7/Ex10_7.sce new file mode 100644 index 000000000..5b2b526d7 --- /dev/null +++ b/3828/CH10/EX10.7/Ex10_7.sce @@ -0,0 +1,17 @@ +//Chapter 10 : Crystallography and Crystal Imperfections + +clear; + +//Variable declaration +x=2 //x intercept +y=3 //y intercept +z=3 //z intercept + +//Calculations +rx=(1/x)*6 //reciprocal of x intercept +ry=(1/y)*6 //reciprocal of y intercept +rz=(1/z)*6 //reciprocal of z intercept + +//Result +mprintf("Miller indices are (%d , %d , %d)",rx,ry,rz) + |