A toy car's position is , in metres. What is its velocity at exactly ? You will make the program find the average velocity over shorter and shorter intervals after , and watch it close in on the instantaneous velocity.
The idea.
As shrinks, comes closer and closer to .
Your tasks.
x(t) return the car's position.t0 to t0 + dt.t0 from calculus.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…