// Example No.6.13. // Page No.191. //To find the nearest neighbour distance. clc;clear; disp('i)Simple cubic unit cell'); disp('The nearest neighbour distance is a');//nearest neighbour distance. disp('ii)Body-centered cubic unit cell'); disp('2r = (0.866)a'); disp('iii)Face-centered cubic unit cell'); disp('2r = (0.7071)a'); //As there are no numerical steps and hence the display statement has been typed directly.