A car starts from rest at a signal and speeds up at . At the same moment, a cyclist ahead rides on at a steady . When does the car catch the cyclist? You will make the program find out by stepping through time, then check it with algebra.
The idea. They meet when their positions are equal:
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…