A car has a mass, an engine force and a resistance. You will make the program find the net force and the acceleration with Newton's second law, then step time forward in small pieces to follow the speed and the distance, and find when the car reaches .
The idea. . In each small time step , the speed grows by and the car moves .
Your tasks.
net and the acceleration a.v and the distance s.t15, the first time on the list when the speed reaches .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…