summaryrefslogtreecommitdiff
path: root/3669/CH2/EX2.4/4.sce
blob: a0d57b6a6ed9c7145525309ac75bf4c0f66af80a (plain)
1
2
3
4
5
6
7
8
9
10

//Variable declaration
a=0.356*10**-9;     //lattice constant(m)
n=8;     //number of atoms

//Calculation
N=n/a**3;     //number of atoms per m**3

//Result
printf('//number of atoms per m**3 is %0.3f  *10**27   \n',(N/10**27))