A weather balloon rises through the air and radios back the temperature. Here is a sounding typical of the air over a tropical sea, rounded to tenths of a degree. You will find the lapse rate and the top of the troposphere.
The idea. The lapse rate is the fall of temperature per kilometre of height: . Weather services put the tropopause at the lowest level where the lapse rate drops to per km or less.
Your tasks.
lapse_rate, return the lapse rate in K/km between two heights of the table.tropopause, return the lowest height whose lapse rate to the next level up is or less.mean_lapse, return the mean lapse rate from the ground to the tropopause.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…