Beruflich Dokumente
Kultur Dokumente
1. Use the method of least squares to t a line to the four data points
Answer: We are looking for the line y = ax + b that best models the data. The deviation
of a data point (xi , yi ) from the model is
yi (axi + b).
This linear system of two equations in two unknowns is easy to solve. We get
11 1
a= , b= .
10 10
Here is a plot of the problem.
y
y = 1.1x + .1
x
1 2 3
MIT OpenCourseWare
http://ocw.mit.edu
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.