Q4Advanced Engineering Mathematics
Question
2 marks
Fit a straight line of following set of observation:
Answer
The best fit straight line using the method of least squares is y = 2x.
Using the method of least squares to fit a straight line equation of the form . We calculate the necessary sums from the observation table:
.
We then construct the two normal equations for a straight line:
Solving these simultaneous equations gives and . Therefore, the best fit straight line is precisely .