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 /1826/CH5/EX5.1 | |
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 '1826/CH5/EX5.1')
-rwxr-xr-x | 1826/CH5/EX5.1/ex5_1.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1826/CH5/EX5.1/ex5_1.sce b/1826/CH5/EX5.1/ex5_1.sce new file mode 100755 index 000000000..a526cad24 --- /dev/null +++ b/1826/CH5/EX5.1/ex5_1.sce @@ -0,0 +1,12 @@ +// Example 5.1, page no-130
+clear
+clc
+
+a=3.615*10^-10//m
+t_ang=0.75 //in degree
+h=1
+k=1
+l=0
+d_110=a/sqrt(h^2+k^2+l^2)
+D=d_110/tan(t_ang*%pi/(180*2))
+printf("The average distance between the dislocations is %.3f A°",D*10^6)
|