diff options
Diffstat (limited to '2243/CH9/EX9.3/Ex9_3.sce')
-rwxr-xr-x | 2243/CH9/EX9.3/Ex9_3.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2243/CH9/EX9.3/Ex9_3.sce b/2243/CH9/EX9.3/Ex9_3.sce new file mode 100755 index 000000000..ce9b738e1 --- /dev/null +++ b/2243/CH9/EX9.3/Ex9_3.sce @@ -0,0 +1,16 @@ +clc();
+clear;
+//Given :
+//Intercepts
+ix = 1/3 ; //along x-axis
+iy = 2/3; // along y-axis
+iz =1; // along z-axis
+//Reciprocals
+rx = 1/ix;
+ry = 1/iy;
+rz = 1/iz;
+//Conversion
+x = rx*2;
+y = ry*2;
+z = rz*2;
+printf("Miller indices of the plane are : ( %d %d %d )",x,y,z);
|