diff options
Diffstat (limited to '3755/CH2/EX2.25/Ex2_25.sce')
-rw-r--r-- | 3755/CH2/EX2.25/Ex2_25.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3755/CH2/EX2.25/Ex2_25.sce b/3755/CH2/EX2.25/Ex2_25.sce new file mode 100644 index 000000000..9936536ac --- /dev/null +++ b/3755/CH2/EX2.25/Ex2_25.sce @@ -0,0 +1,17 @@ +clear
+//
+//
+//
+
+//Variable declaration
+rho=6.23; //density(gm/cc)
+M=60; //molecular weight
+N=6.023*10^23; //avagadro number
+n=4; //number of atoms
+
+//Calculations
+a=(n*M/(rho*N))^(1/3); //lattice constant(cm)
+r=a*sqrt(2)*10^8/4; //radius of atom(angstrom)
+
+//Result
+printf("\n radius of atom is %0.3f angstrom",r)
|