Three laboratories make copper oxide and weigh the copper and the oxygen in their samples: and ; and ; and . You will make the program find the ratio of copper to oxygen in each, their average, and the mass of copper in of the oxide. Then it draws copper against oxygen.
The idea. A compound always has its elements in the same ratio by mass (the law of constant proportions), so the points lie on one straight line through the origin.
Your tasks.
r, the mass of copper divided by the mass of oxygen.average, the average of the three ratios.copper50, the copper in of the oxide: a share of of it.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…