clc; clear all; h = 4; // Miller indices k = 3; // Miller indices l = 0; // Miller indices a = 2e-10; // In meters d = a/(sqrt(h^2+k^2+l^2)); disp('m',d,'The interplanar spacing for the plane is ')