clc //to calculate smallest angle between two stars lambda=5*10^-5 //wavelength in cm a=100*2.54 //diameter in cm theta=1.22*lambda/a disp("the smallest angle between two stars is thita="+string(theta)+"radians")