diff options
Diffstat (limited to '3755/CH2/EX2.23/Ex2_23.sce')
-rw-r--r-- | 3755/CH2/EX2.23/Ex2_23.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/3755/CH2/EX2.23/Ex2_23.sce b/3755/CH2/EX2.23/Ex2_23.sce new file mode 100644 index 000000000..f609e6bbd --- /dev/null +++ b/3755/CH2/EX2.23/Ex2_23.sce @@ -0,0 +1,18 @@ +clear
+//
+//
+//
+
+//Variable declaration
+r=1.278*10^-8; //atomic radius(cm)
+M=63.54; //molecular weight(g/mol)
+N=6.02*10^23; //avagadro number
+n=4; //number of atoms
+
+//Calculations
+a=4*r/sqrt(2); //lattice constant(cm)
+rho=n*M*10^3/(N*a^3); //density(kg/m^3)
+
+//Result
+printf("\n density of copper is %0.0f kg/m^3",rho)
+printf("\n answer in the book is wrong")
|