# How do I calculate the relative number of photons per wavelength emmited by the sun?

Assume I generate $$n$$ photons emmited by the sun. They have wavelengths between 390 and 750 nanometers. How do I find out the number of photons that correspond to each wavelength:

How many of my $$n$$ photons should have a wavelength $$\lambda$$ with $$\lambda \in [390, 750]$$?

• Are you familiar with a Planck spectrum? – pela Aug 6 at 11:28
• @pela No, sadly I am not. – Jhonny007 Aug 6 at 11:29
• A Planck spectrum is the spectrum emitted by an object due to its temperature (as opposed to e.g. line emission), i.e. by a "blackbody". The answer to your question is the integral from 390 to 750 (expressed as number of photons rather than energy), divided by the total integral. I suggest you take a read at the linked article and come back if you have more questions :) – pela Aug 6 at 11:35
• Thank you, I will do that. – Jhonny007 Aug 6 at 11:37