Ammonia burns in oxygen in the first step of making nitric acid: . You will write a function that takes the moles of the reactants and returns the limiting reagent, the moles of each product and the moles of the excess left.
The idea. Rounds of the equation moles coefficient. The smallest is the extent. Products: extent coefficient. Left over: moles extent coefficient.
Your tasks.
rounds with the rounds for each reactant.limiting to the reactant with the fewest rounds, and extent to its rounds.made with the moles of each product.left with the moles of each reactant left over.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…