"The energy density of starlight in interstellar space is 10^(-15) J/m^3. If the average wavelength of starlight is 500nm, what is the corresponding density of photons per cubic meter of space?"
I'm assuming I need to know that density = mass/volume and E = plank's constant * frequency (E = hv) but I don't know how to get the answer.
Any help would be greatly appreciated!
Thanks in advance!