Join free to take this lesson
Anyone can look around, but taking a lesson needs a free account. With one, your answers are checked step by step and your progress is saved, so you can stop and pick up where you left off on any device.
10 steps ยท about 25 min
By the end you can
- Say in words what RK4 does in each step, and what it costs
- Write a function accel(x, v) for a spring and for a skydiver, and step with rk4_step
- Compare how fast the error shrinks: EulerโCromer รท2, Verlet รท4, RK4 รท16 when dt halves
- Choose between Verlet and RK4
Who it is for: Anyone who has done lesson 6.5.
The steps
- Four tries per step
- Using it
- The spring with RK4
- How fast the error shrinks
- Halve RK4's step
- A tenth of the step
- Any force at all
- The skydiver with RK4
- Verlet or RK4?
- Tools you don't write
Discussion 0 comments
Log in to join the discussion.