clc // // // //Variable declaration n=20 //no. of ring lambdaaR=0.0103 //Wavelength*R //Calculations D20=sqrt(4*n*lambdaaR) //Result printf("\n The Diameter of the 20th dark ring is %0.3f cm",D20)