summaryrefslogtreecommitdiff
path: root/1271/CH13/EX13.6
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1271/CH13/EX13.6
downloadScilab-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')
-rwxr-xr-x1271/CH13/EX13.6/6.txt8
-rwxr-xr-x1271/CH13/EX13.6/example13_6.sce14
2 files changed, 22 insertions, 0 deletions
diff --git a/1271/CH13/EX13.6/6.txt b/1271/CH13/EX13.6/6.txt
new file mode 100755
index 000000000..c19d21f34
--- /dev/null
+++ b/1271/CH13/EX13.6/6.txt
@@ -0,0 +1,8 @@
+
+ # PROBLEM 6 #
+Standard formula used
+ x_ = a / x
+ y_ = b / y
+ z_ = c / z
+
+ Miller indices of the plane are (1 3 0) \ No newline at end of file
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_)
+