Practice question · Multiple choice
A physics engine updates position from velocity and velocity from acceleration, each step multiplying by the timestep. Why does halving the timestep improve accuracy, and why does it not eliminate the error?
Hints
- During one step, is the velocity actually constant?
- Ask what happens to the number of steps when each one is halved.
Show the answer
C. Because the update assumes velocity is constant across the step.
Why
Each update treats velocity as constant over the step, so it misses the change happening within it, and a shorter step improves the assumption while doubling the number of steps, so the improvement is a net effect. It never reaches zero, and below some timestep accumulated round-off grows faster than truncation shrinks. Which is why engines use Verlet or Runge–Kutta rather than plain Euler.
Practise Kinematics: Describing Motion
The app has 6 more questions on this lesson, and keeps your place in the course. Computer Science I is free to start.