Missing part in the text of the problem:
"<span>Water is exposed to infrared radiation of wavelength 3.0×10^−6 m"</span>
First we can calculate the amount of energy needed to raise the temperature of the water, which is given by
where
m=1.8 g is the mass of the water
is the specific heat capacity of the water
is the increase in temperature.
Substituting the data, we find
We know that each photon carries an energy of
where h is the Planck constant and f the frequency of the photon. Using the wavelength, we can find the photon frequency:
So, the energy of a single photon of this frequency is
and the number of photons needed is the total energy needed divided by the energy of a single photon: