Using a set of nested for-loops, Write a c++ program.

nyc promo

Using a set of nested for-loops, Write a c++ program. to print a neatley labeled and formatted table of the wavelengths of the first 10 spectral lines for first six sereis of hydrogen.

I have allready done allot of the work im just stuck and confused with the nested loops and how to dispaly the data.

 

 

the Rydberg formula is used to calculate the wavelength. and the table of spetral lines below it

 

 

n1n2NameConverge toward
12 → ∞Lyman series  91.13 nm (UV)
23 → ∞Balmer series 364.51 nm (Visible)
34 → ∞Paschen series 820.14 nm (IR)
45 → ∞Brackett series1458.03 nm (Far IR)
56 → ∞Pfund series2278.17 nm (Far IR)
67 → ∞Humphreys series3280.56 nm (Far IR)



 

 

 

  • 12 years ago
  • 20
Answer(0)
Bids(0)