diff options
Diffstat (limited to '3840/CH2/EX2.6/Ex2_6.sce')
-rw-r--r-- | 3840/CH2/EX2.6/Ex2_6.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3840/CH2/EX2.6/Ex2_6.sce b/3840/CH2/EX2.6/Ex2_6.sce new file mode 100644 index 000000000..e97510d41 --- /dev/null +++ b/3840/CH2/EX2.6/Ex2_6.sce @@ -0,0 +1,15 @@ +clear +// +// +// + +//Variable declaration +N=6.02*10**26 //Avagadro Number +n=8 //number of atoms +a=5.62*10**-10 //lattice constant(m) +M=72.59 //atomic weight(amu) + +//Calculation +rho=n*M/(a**3*N) //density(kg/m**3) + +//Result |