You will write four small functions for the calculations of the first lesson. One finds the moles of glucose. One finds the mass of ethanol that is collected. One finds the volume of carbon dioxide. One finds the oxygen that is needed to burn ethanol.
The idea. Fermentation is , with of glucose and of ethanol . The yield is a percentage. Ethanol burns by . One mole of any gas fills at r.t.p.
Your tasks.
glucose_moles(mass).ethanol_mass(glucose_mass, percent_yield).co2_volume(glucose_mass, percent_yield).oxygen_to_burn(ethanol_mass), which gives the volume of oxygen in at r.t.p.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…