Omniadisce

Computational physics 9.7: Mastery check, data and fitting

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

  • Work out a standard deviation and the uncertainty of a mean
  • Make simulated readings with a seeded random number generator
  • Fit the best straight line, by formula and with np.polyfit, and read its slope as physics
  • Judge a fit by its residuals, and straighten s = ½gt² to find g

Who it is for: Anyone who has done lessons 9.1-9.6.

The steps

  1. How this check works
  2. The standard deviation
  3. np.std
  4. What ddof=1 does
  5. Simulated readings
  6. The seed
  7. The uncertainty of the mean
  8. How many readings?
  9. Nine times the readings
  10. Score a line
  11. The best slope
  12. The intercept
  13. A cyclist's speed
  14. A frown in the residuals
  15. g on another world
  16. Why simulate first?

Discussion 0 comments

Log in to join the discussion.

× Enlarged view