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.
11 steps ยท about 30 min
By the end you can
- Work out the residuals of a line: measured minus the line's value
- Say what least squares means: the line with the smallest sum of squared residuals
- Work out the best slope and intercept with the given formula
- Get the same line with np.polyfit(x, y, 1), and read its slope as a physical quantity
Who it is for: Anyone who has done lesson 9.3, and physics lessons 2.5 (velocity-time graphs) and 2.6.
The steps
- Points that don't line up
- Residuals and least squares
- Try a line by eye
- Why square them?
- The formula for the best line
- The best slope
- The intercept, and the line
- np.polyfit: the same line in one word
- np.polyfit
- What the slope means
- Best, in what sense?
Discussion 0 comments
Log in to join the discussion.