clear // // // //Variable declaration Vd=3*10^22; //density(gm/cc) n=8*(1/8); //number of atoms //Calculations a=(n/Vd)^(1/3); //lattice constant(cm) //Result printf("\n lattice constant is %0.2f angstrom",a*10^8)