Omniadisce

Computational physics 10.8: Mastery check, finding roots

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.

16 steps ยท about 30 min

By the end you can

  • Write a function whose root answers a physics question
  • Find a root by bisection, with a tolerance
  • Find a root by Newton's method, with a slope worked out by computer and a limit on the steps
  • Judge whether a root-finder's answer can be trusted

Who it is for: Anyone who has done lessons 10.1-10.7.

The steps

  1. How this check works
  2. A height as a function
  3. A change of sign
  4. Step until it lands
  5. The midpoint
  6. Keep the right half
  7. Ten halvings
  8. How many halvings?
  9. Use bisect
  10. A slope by computer
  11. Newton's method
  12. A wild jump
  13. When to stop Newton
  14. Where the pulls cancel
  15. Top speed
  16. A simulation as the function

Discussion 0 comments

Log in to join the discussion.

× Enlarged view