0% found this document useful (0 votes)
35 views13 pages

Tarea #2 Metodos Numericos

The document presents a matrix equation and solves it using LU decomposition. It decomposes the matrix A into lower and upper triangular matrices L and U, then solves the system of equations in two steps by computing Ly=b and Ux=y.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views13 pages

Tarea #2 Metodos Numericos

The document presents a matrix equation and solves it using LU decomposition. It decomposes the matrix A into lower and upper triangular matrices L and U, then solves the system of equations in two steps by computing Ly=b and Ux=y.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 13

A b

3 5 -1 -25
2 0 1 10
-1 1 -2 -19

A-1 X
-0.1 0.9 0.5 2 X1
0.3 -0.7 -0.5 -5 X2
0.2 -0.8 -1 6 X3
TAREA #2

PRESENTADO POR:
JUAN DIEGO VALENCIA ALVAREZ
CESAR AUGUSTO LOAIZA

PRESENTADO A:
WILLIAM CHAPARRO BETANCUR

INSTITUCION UNIVERSITARIA PASCUAL BRAVO


AREA: METODOS NUMERICOS(VIERNES)
MEDELLIN
2018
A b
3 5 -1 -25
2 0 1 10
-1 1 -2 -19
Det A 10

A1 X
-25 5 -1 2 X1
10 0 1 -5 X2
-19 1 -2 6 X3
Det A1 20

A2
3 -25 -1
2 10 1
-1 -19 -2
Det A2 -50

A3
3 5 -25
2 0 10
-1 1 -19
Det A3 60
A b
3 5 -1 -25
2 0 1 10
-1 1 -2 -19

3 5 -1 -25
F2-(2/3)*F1=F2 0 -3 1/3 1 2/3 26 2/3
F3-(-1/3)*F1=F3 0 2 2/3 -2 1/3 -27 1/3
x
3 5 -1 -25 2
0 -3 1/3 1 2/3 26 2/3 -5
F3-(-4/5)*F2 0 0 -1 -6 6
x1
x2
x3
A b
3 5 -1 -25
2 0 1 10
-1 1 -2 -19

L U
1 0 0 3 5 -1
2/3 1 0 0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-3
4 8 4 0
1 3 0 -2
1 4 7 2

SUBSISTEMA 1 Ly=b
L b y
1 0 0 0 -4 -4
4 1 0 0 8 24
1 1/6 1 0 -4 -4
1 1/12 -2 1 10 4

SUBSISTEMA 2 Ux=Y
U y x
1 5 4 -3 -4 3
0 -12 -12 12 24 -1
0 0 -2 -1 -4 1
0 0 0 2 4 2
-3
12
-1
2

x1
x2
x3
x4
A b
31.94 5 8 -50.9
5 19.36 7 -6.6
8 7 6.6 -20.8

L LT
5.65154846 0 0 5.65154846 0.88471328 1.41554125
0.88471328 4.31013717 0 0 4.31013717 1.33351947
1.41554125 1.33351947 1.67868066 0 0 1.67868066

L*LT
31.94 5 8
5 19.36 7
8 7 6.6

SUBSISTEMA 1 Ly=b
L b y
5.65154846 0 0 -50.9 -9.00638123 y1
0.88471328 4.31013717 0 -6.6 0.3174064 y2
1.41554125 1.33351947 1.67868066 -20.8 -5.04822841 y3

SUBSISTEMA 2 LTx=y
LT y x
5.65154846 0.88471328 1.41554125 -9.00638123 -0.99756526 x1
0 4.31013717 1.33351947 0.3174064 1.00406214 x2
0 0 1.67868066 -5.04822841 -3.00725952 x3

You might also like