summaryrefslogtreecommitdiff
path: root/1826/CH2/EX2.15/ex2_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '1826/CH2/EX2.15/ex2_15.sce')
-rwxr-xr-x1826/CH2/EX2.15/ex2_15.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1826/CH2/EX2.15/ex2_15.sce b/1826/CH2/EX2.15/ex2_15.sce
new file mode 100755
index 000000000..e44b94481
--- /dev/null
+++ b/1826/CH2/EX2.15/ex2_15.sce
@@ -0,0 +1,9 @@
+// Example 2.15, page no-38
+clear
+clc
+h=2
+k=2
+l=0
+a=4.938*10^-10
+d=a/sqrt(h^2+k^2+l^2)
+printf("\nThe lattice spacing for (220) plane is %.3f*10^-10 m",d*10^10)