You will write three functions that read a volume against time graph. One finds a gradient. One finds the rate at a reading, using its two neighbours. One predicts the end volume from the mass of a carbonate.
The idea. The gradient is the change in volume divided by the change in time. The slope of the tangent at a point is close to the slope of the line between the two points on each side of it. The end volume comes from the moles: one mole of gas fills .
Your tasks.
gradient(t1, v1, t2, v2).rate_at(times, volumes, i). It uses the readings i - 1 and i + 1.end_volume(mass, mr). One mole of carbonate gives one mole of carbon dioxide. The answer is in cm³.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…