Quantum mechanics
But the way physics grew, there was no natural connection between the units that were used to measure energy and the units commonly used to measure time (and therefore frequency). So the formula that Planck worked out to make the numbers all come out right was: