Answer
See the answer below.
Work Step by Step
a) $E=h\nu=hc/\lambda=6.626\times10^{-34}J.s\times 2.998\times10^{8}\ m/s\div578\times10^{-9}\ m$
$E=3.437\times10^{-19}\ J\rightarrow3.437\times10^{-19}\ J\times6.022\times10^{23}\ 1/mol$
$E=207.0\ kJ/mol$
b) $E=hcN/\nu\rightarrow 151000\ J/mol=6.626\times10^{-34}J.s\times 2.998\times10^{8}\ m/s\times6.022\times10^{23}\ 1/mol\div \nu$
$\nu = 792.2\ nm$