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 /1026/CH9/EX9.8 | |
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 '1026/CH9/EX9.8')
-rwxr-xr-x | 1026/CH9/EX9.8/Example9_8.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/1026/CH9/EX9.8/Example9_8.sce b/1026/CH9/EX9.8/Example9_8.sce new file mode 100755 index 000000000..8f2763134 --- /dev/null +++ b/1026/CH9/EX9.8/Example9_8.sce @@ -0,0 +1,25 @@ +//chapter9,Example9_8,pg 239
+
+//from bragg's law
+
+//2*d*sin(theta)=n*lam
+
+n=1
+
+theta1=5.4*(%pi/180)
+
+theta2=7.6*(%pi/180)
+
+theta3=9.4*(%pi/180)
+
+d100=lam/2*sin(theta1)
+
+d110=lam/2*sin(theta2)
+
+d111=lam/2*sin(theta3)
+
+printf("ratio of interplannar spacing \n(1/d100):(1/d110):(1/d111)=")
+
+printf("%.2f:",sin(theta1));printf("%.2f:",sin(theta2));printf("%.2f",sin(theta3));
+
+printf("\nas ratio (1/d100):(1/d110):(1/d111)=1:sqrt(2):sqrt(3)this relation is valid for simple cubic crystal therefore, this is a SCC crystal")
\ No newline at end of file |