You will write functions that turn a table of concentrations into rates. One finds the average rate in each interval. One picks the fastest interval. One finds the rate of the reaction from the rate of change of a single substance.
The idea. The average rate in an interval is . The rate of the reaction is the rate of change of a substance divided by its coefficient.
Your tasks.
average_rates(times, conc) so that it returns a list with the average rate for each interval between neighbouring readings, as positive numbers.fastest(rates) so that it returns the number of the interval with the highest rate, counting from 1.reaction_rate(rate_of_change, coefficient) so that it returns the rate of the reaction as a positive number.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…