Omniadisce

Computational physics 6.3: Euler–Cromer, two lines swapped

Lesson Beginner

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.

9 steps · about 25 min

By the end you can

  • Write Euler–Cromer's step: v = v + a * dt first, then x = x + v * dt
  • Say which speed the position step uses in each method
  • Measure the energy's wobble, max(Es) - min(Es), and say how it changes with dt
  • Explain why the swap helps for a spring but not for a falling ball

Who it is for: Anyone who has done lesson 6.2.

The steps

  1. Swap two lines
  2. Which speed now?
  3. Swap them
  4. A wobble, not a drift
  5. How big a wobble?
  6. Why the swap helps a spring
  7. Euler–Cromer's falling ball
  8. When does the swap help?
  9. One swap

Discussion 0 comments

Log in to join the discussion.

× Enlarged view