clear //Given n1=2 n2=3 lb=6563 a=20 b=108.0 //Calculation l1=(lb*a)/b //Result printf("\n Wavelength of first member is %0.0f A",l1)