Flame test lab
What are the answers to the last two columns and how do I solve them?

f = 5.08 x 10¹⁴/s
E=3.366 x 10⁻¹⁹ J
Radiation energy is absorbed by photons
The energy in one photon can be formulated as
[tex]\large{\boxed{\bold{E\:=\:h\:.\:f}}}[/tex]
Where
h = Planck's constant (6,626.10⁻³⁴ Js)
f = Frequency of electromagnetic waves
f = c / λ
c = speed of light
= 3.10⁸
λ = wavelength
I will give example number 1, and for subsequent numbers, the steps will be the same
For NaNO₃ with λ=590 nm=5.9 x 10⁻⁷m
Frequency(f) :
[tex]\tt f=\dfrac{3.10^8}{5.9\times 10^{-7}}=5.08\times 10^{14}/s[/tex]
Energy(E) :
[tex]\tt E=6.626.10^{-34}\times 5.08\times 10^{14}=3.366\times 10^{-19}~J[/tex]