You will write three small functions about the water vapour in the air.
The idea. The dictionary most gives the most vapour, in g, that 1 m³ of air can hold at each temperature. Relative humidity is the vapour held divided by the most it can hold, times 100.
Your tasks.
relative_humidity, return the relative humidity in percent for actual g of vapour in each m³ at temp degrees C.water_to_condense, return the grams of vapour that condense from each m³ of air. It is the vapour held minus the most it can hold, and never below 0.dew_point, return the lowest temperature in the table at which the air can still hold actual g in each m³.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…