Please show the work as well for #2

Answers:
(a) 508 THz; (b) 337 zJ
Step-by-step explanation:
The formula relating the frequency (f) and wavelength (λ) of a photon is
fλ = c Divide both sides by λ
f = c/λ
The formula for the energy of a photon is
E = hf
Data:
c = 2.998 × 10⁸ m·s⁻¹
λ = 590 nm
h = 6.626 × 10³⁴ J·s
Calculations:
(a) Frequency
f = 2.998 × 10⁸/(590 × 10⁻⁹)
= 5.08 × 10¹⁴ s⁻¹
= 508 × 10¹² s⁻¹
= 508 THz
(b) Energy
E = 6.626 × 10⁻³⁴ × 508 × 10¹²
= 3.37 × 10⁻¹⁹ J
= 337 × 10⁻²¹ J
= 337 zJ