clc //Variable declaration a=mulf('2','R') //Results printf('i.Number of atoms per unit area of (100)plane= 1/(%d*R**2) ",2**2) printf('\nii.Number of atoms per unit area of (110)plane=%f*R**2",2**2/(sqrt(2))) printf('\niii.Number of atoms per unit area of (111)plane=%f*R**2",2**2/(sqrt(3)))