blob: e97510d41eafe5a96f4620ec6ae6af6fb2dfc007 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
|