You are on page 1of 3

WEEK 12 - LINEAR AND QUADRATIC EQUATIONS

GRUPO: MAT 247.-1601-S1

DAREN CABALLERO QUINTERO - 1090500501

PRESENTADO A

ELIO TERAN

UNIVERSIDAD NACIONAL ABIERTA Y A DISTANCIA UNAD


ESCUELA DE CIENCIAS BÁSICAS E TECNOLOGÍA E INGENIERÍA – ECBTI

NUMERICAL ANALYSIS - MAT247.-1601-S1

08 DE MAYO DE 2022 – CÚCUTA


EXERCISE

1. Find the least squares solutions and RMSE of the following systems:

2. Find the least squares solution of the inconsistent system:

Solutions

1)

(a) [[1,0,0],[0,1,1],[1,2,1], [1,0,1]] [ 2,2,3,4 ]

T ❑
T
Paso 1 A A n= A B
T
A A= [ [3,3,2], [ 3,6,3 ] , [ 2,3,3 , ] ] A B = [ 9,10,9 ]
T

[ [3,3,2], [ 3,6,3 ] , [ 2,3,3 , ] ] ¿ ¿, x 2, x 3 ¿ = [9,10,9]


X = ¿ ¿, x 2, x 3 ¿ [ 2 ,−.333 , 2 ]

_______________________________________________________________________

RMSE = || b - An ||

= || [ 2,2,3,4 ] - [ 1.66,1.66,3 .33,3 .99 ]||

A❑ n=¿ [ [1,1,0], [ 0,1,1 ] , [ 1,2,1, ] , [ 1,0,1 , ] ] [ 2 ,−.33,2 ]

[ 1.66,1.66 .5 .33,3 .99 ]


= . 577

(b) [[1,0,1],[ 0,1,2],[1,1,1],[2,1,1]] [ 2,3,1,3 ]

AT A = [ [7,3,6], [ 3,2,2 ] , [ 6,2,7 ] ] AT B = [ 10,3,11 ]


T T
A n= A B=> [ [7,3,6], [ 3,2,2 ] , [ 6,2,7 ] ] ¿ ¿, x 2, x 3 ¿ = [ 10,3,11 ]

=> [ 1 ,−1,1 ]
RMSE = || b - An || = 0

2)

(a) y = 1.932e0.3615t,||e||2 = 1.2825,

(b) y = 2t−1/4,||e||2 = 0.9982

REFERENCES

Numerical Analysis 2nd.Sauer.2012

You might also like