diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3411/CH5/EX5.3.u1/Ex5_3_u1.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '3411/CH5/EX5.3.u1/Ex5_3_u1.sce')
-rw-r--r-- | 3411/CH5/EX5.3.u1/Ex5_3_u1.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/3411/CH5/EX5.3.u1/Ex5_3_u1.sce b/3411/CH5/EX5.3.u1/Ex5_3_u1.sce new file mode 100644 index 000000000..13d3d0f20 --- /dev/null +++ b/3411/CH5/EX5.3.u1/Ex5_3_u1.sce @@ -0,0 +1,13 @@ +//Example 5_3_u1
+clc();
+clear;
+//To find the intercepts along the Y and Z axes
+a=0.121 //units in nm
+b=0.184 //units in nm
+c=0.197 //units in nm
+//Given miller indices are (2,3,1)
+OA_OB=3/2
+OA_OC=1/2
+OB=(2/3)*b //units in nm
+OC=2*c //units in nm
+printf("The Intercepts along the Y and Z axes are OB=%.3fnm and OC=%.3fnm",OB,OC)
|