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 /1271/CH13/EX13.6/example13_6.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 '1271/CH13/EX13.6/example13_6.sce')
-rwxr-xr-x | 1271/CH13/EX13.6/example13_6.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1271/CH13/EX13.6/example13_6.sce b/1271/CH13/EX13.6/example13_6.sce new file mode 100755 index 000000000..4772a687b --- /dev/null +++ b/1271/CH13/EX13.6/example13_6.sce @@ -0,0 +1,14 @@ +clc +// Given that +x = 2 // intercepts cut by the plane along vector a of crystallographic axes +y = 2 / 3 // intercepts cut by the plane along vector b of crystallographic axes +k = 0 // raciprocal of intercepts cut by the plane along vector c of crystallographic axes +// Sample Problem 6 on page no. 13.26 +printf("\n # PROBLEM 6 # \n") +printf("Standard formula used \n") +printf(" x_ = a / x \n y_ = b / y \n z_ = c / z \n") +x_ = 2 / x +y_ = 2 / y +z_ = 2 * k +printf("\n Miller indices of the plane are (%d %d %d)",x_,y_,z_) + |