Could you please explain me, what's the relationship between Planck's constant and frequency. Why does higher frequency mean higher energy? Maybe I'll need some explaining on Planck's constant too. Someone explained me that h is an energy of a 'packet' and you could think frequency as amount of those packets in a photon. But this creates the problem that frequency could be only an integer because you couldn't divide h into smaller energy packets.