Exercise Solution 2.14

Let

[s1]

We have

[s2]

and

[s3]

Applying [2.103], we obtain

[s4]

Our linear polynomial is

[s5]

Exhibit s1: Least squares linear polynomial