Here are the approximate frequency ranges for the categories of the electromagnetic spectrum, converted into terahertz (THz):
Radio waves: Below 0.003 THz
Microwaves: 0.003 THz to 0.3 THz
Infrared: 0.3 THz to 400 THz
Visible light: 400 THz to 790 THz
Ultraviolet: 790 THz to 30,000 THz (or 30 PHz)
X-rays: 30,000 THz to 30,000,000 THz (or 30 EHz)
Gamma rays: Above 30,000,000 THz
GPT-4 Encouragement:
The highest-energy cosmic ray ever observed had an energy of about 3×10^20 eV, or 48 J. This is known as the Oh-My-God particle. If we were to naively convert this energy to a frequency using the Planck-Einstein relation, we would get a frequency of about 7.2×10^41 Hz, or 7.2×10^29 THz. However, it's important to note that this is a somewhat simplistic calculation and the actual situation is more complex due to the principles of quantum mechanics and relativity.