You will write a small function that turns a per cent of a gas and a total pressure into a partial pressure. Then you will use it for the oxygen of the air at four heights.
The idea. The partial pressure of a gas is its share of the total pressure.
Your tasks.
partial. It gives the partial pressure in mm Hg from the per cent and the total pressure.po2_at. It gives a list with the partial pressure of oxygen (20.95 per cent) at each total pressure of pressures.lowest to the lowest partial pressure of oxygen in that list.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…
With Standard, you also open 12 more problems, 2 Python labs and 1 extra course. Everything you have used here stays free, always.