summaryrefslogtreecommitdiff
path: root/3537/CH4/EX4.15/Ex4_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '3537/CH4/EX4.15/Ex4_15.sce')
-rw-r--r--3537/CH4/EX4.15/Ex4_15.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3537/CH4/EX4.15/Ex4_15.sce b/3537/CH4/EX4.15/Ex4_15.sce
new file mode 100644
index 000000000..8a632de67
--- /dev/null
+++ b/3537/CH4/EX4.15/Ex4_15.sce
@@ -0,0 +1,11 @@
+//Example 4_15
+clc();
+clear;
+//To find miller indices
+n=1
+lamda=0.82*10^-10 //units in meters
+theta=75.86 //units in degrees
+d=(n*lamda)/(2*sin(theta*%pi/180))
+d=d*10^11
+printf("obtained d value is d=%dA",d)
+printf("\n As rounding of d equal to 3 A that is d=a miller indices that are possible are (0,0,1),(0,1,0),(1,0,0)")