Answer:
The wavelength of maximum energy radiated by a body is given by Wien's displacement law: Lambda = A / T. A is a constant, so as temperature increase the wavelength decreases. The sun, T=6000°K, emits primarily in the visible range, while the earth, T=300°K, emits primarily in the thermal IR range.
Step-by-step explanation: