Bonds and spectra 2.5

hi! I was wondering if someone could explain to me in detail how they calculate r_anharmonic and n. I do not get it when I see the solution…

Does Calculate anharmonic distance answer your question?