You will count the nitrogen atoms that a crop fixes, the ATP that nitrogenase spends on them, and the carbon that leaves the nodule with the fixed nitrogen.
The idea. One holds two atoms and costs 16 ATP, so each atom costs 8 ATP. The molar mass of nitrogen is . A compound with carbon atoms and nitrogen atoms carries carbon atoms with each nitrogen.
Your tasks.
atoms. It gives the moles of nitrogen atoms in a mass of nitrogen given in kilograms.atp. It gives the moles of ATP used to fix a number of moles of nitrogen atoms.carbon_sent. It gives the moles of carbon that leave with a number of moles of nitrogen, for a compound with c carbons and n nitrogens.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…