The distribution function of the light beam which has passed the medium is solved by starting from the radiative transfer equation of light in the scattering medium and introducing visually the gain function. The results are in good agreement with those of the experiments, and the forward scattering coefficient and extinction coefficient has been obtained.