A student stands on a scale in a lift that goes up one floor after another: it speeds up at for , moves steadily for , then slows at for . You will make the program draw the scale's reading through the trip, and find the lift's top speed from its acceleration.
The idea. The scale reads the push it gives, , with up positive. The speed is the area under the acceleration graph: in each small step it grows by .
Your tasks.
N at every 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…