You will write four small functions that turn a table of gas syringe readings into rates. One gives a mean rate. One gives the rate in every interval. One finds the fastest interval. One decides if the reaction has finished.
The idea. The mean rate is the change in volume divided by the change in time. A reaction slows down, so the fastest interval is usually the first. A reaction has finished when the volume stops changing.
Your tasks.
mean_rate(change, time).interval_rates(times, volumes). It returns a list with the mean rate in each interval between two readings.fastest_interval(times, volumes). It returns the number of the interval with the highest rate, counting from 0.has_finished(volumes). It returns True if the last two readings are the same.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…