Extended. You will find the distance and the average speed from a speed-time graph given as a list of points.
Your tasks.
distance, return the total area under the graph. For each pair of neighbouring points, add the area of the trapezium.first_acceleration to the gradient of the first stage.average_speed to the distance divided by the total time.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…