A ball arrives at a given speed and is stopped. You will make the program find the momentum to remove, the average force for six different stopping times, and the shortest stopping time that keeps the force at or less. Then it draws the forces as bars.
The idea. Average force change of momentum time. A longer stop needs a smaller force.
Your tasks.
dp, the momentum the catch must remove.forces, one force for each time in times.safe, the shortest time on the list whose force is at most .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…