\[ E = \frac{1240}{\lambda (\text{nm})} \, \text{eV} \]
\[ E = \frac{1240}{242} \, \text{eV} \]
\[ E = 5.12 \, \text{eV} \]
\[ E = 5.12 \times 1.6 \times 10^{-19} \, \text{J/atom} \]
\[ E = 8.198 \times 10^{-19} \, \text{J/atom} \]
\[ E = 494 \, \text{kJ/mol} \]