Omniadisce

Computational physics 14.3: One step for the whole rod

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

  • Store into a slice: T[1:-1] = ... changes only the inner pieces
  • Take one diffusion step for the whole rod in one line
  • Put the step in a loop and watch heat creep along the rod

Who it is for: Anyone who has done lessons 14.1 and 14.2.

The steps

  1. Storing into a slice
  2. Run one step
  3. Two steps
  4. Write the step
  5. Why a slice on the left?
  6. Many steps
  7. Heat creeping along
  8. The cold end
  9. One line, every piece

Discussion 0 comments

Log in to join the discussion.

× Enlarged view