//Chapter-2,Example2_6_4,pg 2-33 N=3*5000 //number of lines n_l=5000*10^2 //number of lines per meter wavelength=5890*10^-10 //wavelength of light m_max=1/(n_l*wavelength) R_P_max=(m_max)*N printf('\n The maximum R.P. = %.0f ',R_P_max)