Dear
Dipndots,
For the “Planck’s Constant” you may read:
And for the Calculation you may read the Forum-Question:
Therein
ΔE is the Energy Difference between two states of the molecule.
One State is usually the "
Ground State", and so the Energy corresponds with a given Wavelength of Absorption in the Spectrum.
I hope it may be of help to you.
Good Luck!
ARGOS
++