The correct equation that relates the energy of electromagnetic radiation to its frequency is:
B. E = hv
In this equation, \( E \) is the energy of the electromagnetic radiation, \( h \) is Planck's constant, and \( v \) (or sometimes denoted as \( \nu \)) is the frequency of the radiation.