Max Planck discovered the relationship between frequency and energy. Nobody before had ever guessed that frequency is directly proportional to energy (this means that as one of them doubles, the other does, too). Under what are called natural units, then the number representing the frequency of a photon would also represent its energy. The equation would then be: