You will write three small functions about the microwave background.
The idea. Wien's law gives the peak wavelength in metres. When space was times smaller, the glow was times hotter. The stretch of space is the ratio of the wavelength seen to the wavelength in the laboratory.
Your tasks.
peak_nm, return the peak wavelength in nanometres for a temperature in kelvin.temperature_then, return the temperature when space was stretch times smaller.stretch_of_space, return the stretch from the wavelength seen and the wavelength in the laboratory.Run your code once to unlock the worked solution.
Have you tried it?
Do the tasks in the editor first, and run the checker after each one. Its hints help when a check fails. When you are ready, compare your code with this solution.
Log in to join the discussion.
Loading…