1 2 3 4 5 6 7 8 9 10 11 12 13
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)