summaryrefslogtreecommitdiff
path: root/3622/CH8/EX8.4/Ex8_4.sce
blob: 96246de0147f2e4d1b32b737b51706959b8c5ad7 (plain)
1
2
3
4
5
6
7
8
9
//Initialisation of variables
clc
n=2//number of atoms in plane
r=3.5e-8/2//armstrom
//interatomic distance=2*r
a=4*r/sqrt(2)
Area=a^2
AtomsperArea=n/Area
printf('atoms per cm cube is %e\n',AtomsperArea)//correction