//Example 5_16 clc(); clear; //To calculate the distane between (110) planes a=0.38 //units in nm h=1 k=1 l=0 d=a/sqrt(h^2+k^2+l^2) printf("Distance between (110) planes d = %.2f nm",d)