A trolley starts at and speeds up steadily at for . How far does it go? You will make the program add up the area under its velocity-time graph in thin strips, and compare that with the equation of motion.
The idea. A strip of width has an area of about , a small displacement. Adding all the strips gives the displacement:
Your tasks.
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…