Formula For Number Of Spectral Lines