blob: 07a38d8f6891fdee683f76c9c3a158467417225d (
plain)
1
2
3
4
5
6
7
|
clc
a=4.75*10^-8
disp(" a = "+string(a)+"cm") //initializing value of lattice constant.
N=4
disp(" N = "+string(N)) //initializing value of number of atoms in the unit cell.
na =(N/(a^3))
disp(" na =(N/(a^3)) = "+string(na))//calculation
|