//Chapter-2,Example2_2_3,pg 2-11 n2=2 //for second order minima n3=3 //for third order minima wavelength_3=4000 //wavelength of light for third order minima //as second order minima is coincide with third order minima, n2*wavelength2= n3*wavelength_3 wavelength_2=n3*wavelength_3/n2 printf("\nwavelength of light for second order minima is = %.f A.",wavelength_2)