summaryrefslogtreecommitdiff
path: root/1826/CH2/EX2.6/ex2_6.sce
diff options
context:
space:
mode:
Diffstat (limited to '1826/CH2/EX2.6/ex2_6.sce')
-rwxr-xr-x1826/CH2/EX2.6/ex2_6.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/1826/CH2/EX2.6/ex2_6.sce b/1826/CH2/EX2.6/ex2_6.sce
new file mode 100755
index 000000000..352cad0f1
--- /dev/null
+++ b/1826/CH2/EX2.6/ex2_6.sce
@@ -0,0 +1,9 @@
+// Example 2.6, page no-33
+clear
+clc
+h=1
+k=0
+l=0
+a=2.814*10^-10
+d=a/sqrt(h^2+k^2+l^2)
+printf("The lattice spacing for the plane(100) is %.3f*10^-10 m",d*10^10)