1 2 3 4 5 6 7 8
//Initialisation of variables clc h=1 k=1 l=1 dhkl=1.75e-8// a=dhkl*sqrt(h^2+k^2+l^2) printf('inter atomic spacing is %e cms \n',a)