Exercise No. 6 Numerical Methods
-
Upload
ronnie-albert-montero -
Category
Documents
-
view
218 -
download
0
Transcript of Exercise No. 6 Numerical Methods
-
7/24/2019 Exercise No. 6 Numerical Methods
1/1
NUMERICAL METHODS
EXERCISE NO. 6
I. Calculate the linear least squares fit for the following data. Graph the data and the least
squares fit.
xi yi xi yi xi yi
0 1.466 1.2 1.068 2.4 4.148
0.3 0.062 1.5 1.944 2.7 4.464
0.6 0.492 1.8 2.583 3.0 5.185
0.9 0.822 2.1 3.239
where: = last two digits of your student no. 100
II. Do a quadratic least squares polynomial fit for the following data. Plot the data and the least
squares fit.
xi yi xi yi xi yi xi yi xi yi
1 71.658 5 67.385 9 63.210 13 66.993 17 70.804
2 70.346 6 66.103 10 63.912 14 67.698 18 71.519
3 69.041 7 65.809 11 64.576 15 68.417
4 68.835 8 64.485 12 65.317 16 69.096
where: = last two digits of your student no. 100
III. Estimate the multiple linear regression model for the given data.
where: = last two digits of your student no. 100
x1 x2 x3 y
1.74 5.30 10.80 25.50
6.32 5.42 9.40 31.20
6.22 8.41 7.20 25.90
10.52 4.63 8.50 38.40
1.19 11.60 9.40 18.40
1.22 5.85 9.90 26.70
4.10 6.62 8.00 26.406.32 8.72 9.10 25.90
4.08 4.42 8.70 32.00
4.15 7.60 9.20 25.20
10.15 4.83 9.40 39.70
1.72 3.12 7.60 35.70
1.70 5.30 8.20 26.50