summaryrefslogtreecommitdiff
path: root/3669/CH2/EX2.5/5.sce
diff options
context:
space:
mode:
Diffstat (limited to '3669/CH2/EX2.5/5.sce')
-rw-r--r--3669/CH2/EX2.5/5.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3669/CH2/EX2.5/5.sce b/3669/CH2/EX2.5/5.sce
new file mode 100644
index 000000000..1f3de1c76
--- /dev/null
+++ b/3669/CH2/EX2.5/5.sce
@@ -0,0 +1,10 @@
+
+//Variable declaration
+a=3.5; //lattice constant(angstrom)
+
+//Calculation
+A=a**2;
+N=10**7*10**7/A; //number of atoms per sq. mm
+
+//Result
+printf('number of atoms per sq. mm is %0.3f *10**12 \n',(N/10**12)) \ No newline at end of file