I'm just wondering what the specific problem and solution was for the ultraviolet catastrophe. I understand that it was because scientists were calculating that in an oven, the radiation was showing infinite energy. Is this due to their being an infinite number of waves or what? And whatever the reason was for getting this calculation, why did they assume that. Then when Planck came along and suggested the idea of a quanta, how did this fix the problem?