summaryrefslogtreecommitdiff
path: root/3651/CH2/EX2.1/Ex2_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3651/CH2/EX2.1/Ex2_1.sce')
-rw-r--r--3651/CH2/EX2.1/Ex2_1.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3651/CH2/EX2.1/Ex2_1.sce b/3651/CH2/EX2.1/Ex2_1.sce
new file mode 100644
index 000000000..f3f1c6182
--- /dev/null
+++ b/3651/CH2/EX2.1/Ex2_1.sce
@@ -0,0 +1,9 @@
+clc
+
+//Variable declaration
+a=mulf('2','R')
+
+//Results
+printf('i.Number of atoms per unit area of (100)plane= 1/(%d*R**2) ",2**2)
+printf('\nii.Number of atoms per unit area of (110)plane=%f*R**2",2**2/(sqrt(2)))
+printf('\niii.Number of atoms per unit area of (111)plane=%f*R**2",2**2/(sqrt(3)))