A simple model says that one contraction makes lactic acid in proportion to the share of the ATP that is made without oxygen. If all of the ATP is made without oxygen, one contraction makes 1 unit of acid. A fibre is tired when it has made 40 units. You will write the model and use it.
The idea. The more ATP is made with oxygen, the less acid one contraction makes, and the more contractions the fibre can make.
Your tasks.
acid_made. It gives the units of acid after a number of contractions, for a share of the ATP made with oxygen.contractions_before_fatigue. It gives the number of contractions before the fibre is tired.fibre_kind. It gives "red" if 50 per cent or more of the ATP is made with oxygen, and "white" if less.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…