diff options
Diffstat (limited to '3755/CH2/EX2.1')
-rw-r--r-- | 3755/CH2/EX2.1/Ex2_1.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/3755/CH2/EX2.1/Ex2_1.sce b/3755/CH2/EX2.1/Ex2_1.sce new file mode 100644 index 000000000..4fc3b5080 --- /dev/null +++ b/3755/CH2/EX2.1/Ex2_1.sce @@ -0,0 +1,19 @@ +clear
+//
+//
+//
+
+//Variable declaration
+M=28; //atomic weight of Si
+N=6.023*10^23; //avagadro number
+a=5.3*10^-10; //lattice constant(m)
+n=4;
+
+//Calculations
+V=a^3; //volume(m^3)
+m=M/(N*10^3); //mass(kg)
+rho=n*m/V; //volume density(kg/m^3)
+
+//Result
+printf("\n volume density is %e kg/m^3",rho)
+printf("\n answer in the book is wrong")
|