If the equation is E=hf, I don't see how the units work out. If E is measured in Joules (J), the products of hf must equal (J). But if h is measured in (J/s) and f measured in (1/s), then the product is J/s^2, not J -the units don't cancel out. Could you explain what I'm missing? Or is Plank's constant h supposed to be in J x s?
Thanks