You will write the three steps of the balance of energy: the sunlight a planet absorbs, the temperature at which it sends out the same power, and the size of its greenhouse effect.
The idea. A planet absorbs on average. A body at kelvin radiates with , so the temperature at balance is . The greenhouse effect is the real temperature less the balance temperature.
Your tasks.
absorbed, return the average power per square metre that a planet absorbs.balance_temp, return the temperature in kelvin at which a planet radiates the power p.greenhouse_effect, return the real temperature less the balance temperature.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…