Está en la página 1de 11

Segundo parcial de Analisis numerico

Alum:
Yamel Calderon Chinchia

Prof:
German Sosa

Universidad popular del cesar


Valledupar cesar
2021
1.

3 −0.1 −0.2 −11.25


A= 0.1
[ 7 −0.3 = 18.60
0.3 −0.2 10 −51.70 ][ ]
Entonces reducimos a una matriz triangular inferior, que será nuestra matriz U

F1 ( −0.1
3 )+F ;F (
2
−0.3
3 )1+F 3

3 −0.1 −0.2

[
U = 0 7.0033 −0.2933
0 −0.19 10.02 ]
0.19
F2 ( 7.0033 )+ F 3

3 −0.1 −0.2

0 [
U = 0 7.0033 −0.2933
0 10.0120 ]
Entonces calculamos la matriz L:

1 0 0

[
U = 1/30 1 0
1/10 −57 /2101 1 ]
Entonces la primera solución es y=L ¿

−45

[ ]
4
y= 759/49
−4155
83

Entonces la solución del sistema será:

x=U ¿

−4

[]
x= 2.5
−5
2.

6 −0.2 −0.8 −28.30

[
A= 0.4 10
0.6 0.4
0.2 = −36.30
8 15.90 ][ ]
Procedemos a calcular matriz Gauss Jordán y tenemos qué:

6 −0.2 −0.8 −28.30


(
Z= 0.4 10
0.6 0.4
0.2 −36.30
8 15.90 | )
0.6 1
F1 ( −0.4
6 ) +F ; F (
2 1
6 ) +F ; F ( )
6 3 1

1 −0.0333 −0.1333 −4.7167


(
Z= 0 10.0133 0.2533 −34.4133
0 0.42 8.0800 18.7300 | )
−0.42 0.0333 1
F2 ( 10.0133 )+ F ; F ( 10.0133
3 2 )+ F ; F ( 10.0133
1 2)
1 0 −0.1325 −4.8311
(
Z= 0 1 0.0253 −3.4368
0 0 8.0694 20.1734 | )
0.1325 1
F3 ( −0.0253
8.0694 ) +F ; F (
2
8.06943) +F ; F (
8.0694 )
1 2

1 0 0 −4.4999
( |
Z= 0 1 0 −3.5000
0 0 1 2.5000 )
4.

f ( x )=cos ( x+1 ) −sen ( x +1 ) +0.8

Tol=Absoluto 10−8
Gráfica y Ubicación.

f ( x0 ) ( x i−1−x 0 )
x i−1=x 0−
( f ( x 1 )−f ( x 0 ) )
x 0=0 , x 1=1

0.49883 ( 1−0 )
x 1=0−
(( −0.52544 )−( 0.49883 ) )
x 1=0.487008895

−0.52544 ( 0.48700−1 )
x 2=1−
( (−0.11280 ) −(−0.52544 ) )
x 2=0.346774300

0.34677−0.48700 )
x 3=0.48700−
(( (
0.04714 )−(−0.11280 ) )
x 3=0.388106462
( 0.38810−0.34677 )
x 4 =0.34677−
( (−0.00168 )−( 0.04714 ) )
x 4 =0.386681518

( 0.38668−0.38810 )
x 5=0.38810−
(( −2.23186 ) −(−0.00168 ) )
x 5=0.386662370

( 0.38668−0.38666 )
x 6=0.38668−
(( −8
1.10682 ¿ 10 )− (−2.23186 ) )
x 6=0.386662370

E r x =((0.386662380076639−0.386662370585603)/0.386662380076639)
5

E r x =2.45460∗1 0−8
5
3.

Intercambiando las filas


12 −0.4 −0.3 −53.35
{
A= 0.5 8 −0.4 −31.25
0.4 −0.3 16 39.25 | }
PARA REVISAR TRIDIAGONALIDAD DEL SISTEMA
n

|a ij|> ∑ ¿ aij ∨¿ ¿
j=1 j ≠i

|12|>|−0.4∨+¿−0.3|=0.7

|8|>|0.5|+|−0.4|=0.9

|16|>|0.4|+|−0.3|=5

EL SISTEMA ES TRIDIAGONAL .
Nuestra matriz será la siguiente:

12 −0.4 −0.3 −53.35


[
A= 0.5 8 −0.4 ; B= −31.25
0.4 −0.3 16 39.25 ] [ ]
Realizando los despejes de las variables, tenemos qué:

−53.45+ ( 0.4 x 2 +0.3 x3 )


x 1=
12
−31.25+(0.4 x3 −0.5 x1 )
x 2=
8
39.25+0.3 x2 −0.4 x 1
x 3=
16

Para Gauss – Seidel:

Y evaluando en el vector inicial


0
X =[ 0 0]
Para n=1 ,2 , 3 …

n x1 x2 x3
1 -4.4458333 -3.6283854 2.4962386
2 -4.5043735 -3.4999147 2.5001109
3 -4.4999944 -3.4999948 2.5000000
4 -4.4999998 -3.5000000 2.5000000

La solución del sistema será:

x 1=¿-4.4999998 x 2=¿-3.5000000 x 3=2.5000000

También podría gustarte