summaryrefslogtreecommitdiff
path: root/3755/CH2/EX2.3
diff options
context:
space:
mode:
Diffstat (limited to '3755/CH2/EX2.3')
-rw-r--r--3755/CH2/EX2.3/Ex2_3.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/3755/CH2/EX2.3/Ex2_3.sce b/3755/CH2/EX2.3/Ex2_3.sce
new file mode 100644
index 000000000..e0cdc605a
--- /dev/null
+++ b/3755/CH2/EX2.3/Ex2_3.sce
@@ -0,0 +1,17 @@
+clear
+//
+//
+//
+
+//Variable declaration
+M=120; //atomic mass
+N=6.023*10^23; //avagadro number
+n=2;
+g=20; //mass(gm)
+
+//Calculations
+u=n*M/N;
+nu=g/u; //number of unit cells
+
+//Result
+printf("\n number of unit cells is %0.3f *10^22",nu/10^22)