Part (a): Best-Fit Cubic Polynomial:
- Normal System Equation Matrix (A^T A): ATA=615552251555225979552259794425225979442520455
- Vector (A^T \mathbf{b}): ATb=7431813226106
- Coefficients of the best-fit cubic polynomial: (c=(ATA)−1ATb=3.285711.1429−6.14291.0000)
- Resulting cubic polynomial: The best-fit cubic polynomial is y=3.2857+11.1429x−6.1429x2+1.0000x3
Part (b): Matrix Computations:
-
Matrix ( A ): A=0.0921260.9882570.9393250.4645280.9344600.2550360.9732120.8616300.3602300.3533120.0485580.870482
-
Matrix ( A^T A ): ATA=2.08331.65250.83231.65252.62781.22400.83231.22401.0147
-
Eigen decomposition:
-
Orthogonality check ( ( P^T P ) ): PTP=1.00005.5511e−171.6653e−165.5511e−171.00002.7756e−171.6653e−162.7756e−171.0000
-
Singular Value Decomposition:
-
Matrix ( U ): U=−0.3991−0.4167−0.5887−0.5661−0.57240.63210.3300−0.4049−0.29190.4308−0.64510.5595−0.6541−0.49110.35830.4500
-
Matrix ( S ): S=2.151900000.862800000.592300000
-
Matrix ( V ): V=−0.587643−0.715645−0.3775300.804189−0.465148−0.3700240.089199−0.5210470.848854
-
Comparison of ( S^T S ) and ( D ): STS=4.63050000.74440000.3508
-
Comparison of ( V ) and ( P ):