Each equation is stored as a dictionary: products have positive numbers and reactants negative ones. A function add sums two equations and drops what cancels. You will use the burning of carbon and of carbon monoxide to find the enthalpy of formation of carbon monoxide.
The idea. The target is . Keep the burning of carbon, and reverse the burning of CO.
Your tasks.
back to the burning of CO run backwards, and dh_back to its enthalpy change.total to the sum of burn_c and back.dh_total to the enthalpy change of the total.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 4 more problems. Everything you have used here stays free, always.