Hence X is the least square solution.

EXAMPLE 2.81

Fit a straight line y = a + bx to the following data by the method of least square:

 

images

Solution. We have (as per our notations)

 

images

 

Therefore,

 

images

 

and

 

images

 

Hence,

 

images

 

and so a = 1.64 and ...

Get Engineering Mathematics, Volume II, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.