A beam of light from a sodium street lamp is found to have a frequency of 5.09 x 1014 Hz. What is the wavelength?
Hz is wavelengths per sec
so I use the units in a rather unusual way. I am sure others would use a formua.
we have
$$\\frequency =\frac{5.09*10^{14}\;\;\lambda}{second}\qquad speed\;of\;light=\frac{299792458\;m}{sec}\qquad we\;want\;\; \frac{m}{\lambda}\\\\
\frac{299792458\;m}{sec}\times \frac{sec}{5.09*10^{14}\;\;\lambda}\qquad $The seconds cancel out$\\\\
=\frac{299792458\;m}{5.09*10^{14}\;\;\lambda}$$
$${\frac{{\mathtt{299\,792\,458}}}{\left({\mathtt{5.09}}{\mathtt{\,\times\,}}{{\mathtt{10}}}^{{\mathtt{14}}}\right)}} = {\mathtt{0.000\: \!000\: \!588\: \!983\: \!218\: \!1}}$$
So the wavelength is $$\approx 589*10^{-9}\;\;metres = 589\;nanometres$$