summaryrefslogtreecommitdiff
path: root/3636/CH2/EX2.4/Ex2_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3636/CH2/EX2.4/Ex2_4.sce')
-rw-r--r--3636/CH2/EX2.4/Ex2_4.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3636/CH2/EX2.4/Ex2_4.sce b/3636/CH2/EX2.4/Ex2_4.sce
new file mode 100644
index 000000000..43af4455c
--- /dev/null
+++ b/3636/CH2/EX2.4/Ex2_4.sce
@@ -0,0 +1,9 @@
+clear;
+clc;
+a=5*10^-10 //lattice constatnt in m
+
+//Calculation
+n111=1/(a^2*sqrt(3))
+
+mprintf("n(111)= %.1e atoms/m^2",n111)
+//2.3e+18 is 2.3*10^18