0% found this document useful (0 votes)
53 views7 pages

Parcial Final: Eduer José Calvo Acuña

The document provides instructions for three problems: 1. Use the Gauss-Seidel method to solve a system of linear equations, showing the iterations and relative errors for the first three iterations. 2. Use Gaussian elimination to solve two systems of linear equations, maintaining at least six decimal places of precision. Show the transformation process. 3. Obtain the root of the function f(x) = xlog10(x) - 10 using the secant method, with initial approximations of x0 = 8 and x1 = 9. Construct and show the graph of this equation and where the root is located.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views7 pages

Parcial Final: Eduer José Calvo Acuña

The document provides instructions for three problems: 1. Use the Gauss-Seidel method to solve a system of linear equations, showing the iterations and relative errors for the first three iterations. 2. Use Gaussian elimination to solve two systems of linear equations, maintaining at least six decimal places of precision. Show the transformation process. 3. Obtain the root of the function f(x) = xlog10(x) - 10 using the secant method, with initial approximations of x0 = 8 and x1 = 9. Construct and show the graph of this equation and where the root is located.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 7

EDUER JOSÉ CALVO ACUÑA

21-06-2021 Parcial final


Análisis numérico
1. Use el método de Gauss-Seidel, con sistema diagonal dominante
para resolver el siguiente sistema lineal. con; 𝒙𝟐 = 𝒙𝟑 = 𝟎,
desarrolle en este caso las iteraciones para la solución
exacta, muestre error relativo para las tres primeras
iteraciones. (Valor 1.25; SP=0.9)
3.0 x1 +12.0 x 2−5 x3 =−92.0

{−3.0 x1−2.0 x 2−12.0 x 3=−67.0 con x 2=x 3=0


11 x 1−4.0 x 2 +3 .0 x 3=4.0

4+ 4.0 x 2−3.0 x 3

{
x1=
11
11 x 1−4.0 x 2 +3 .0 x 3=4.0

{3.0 x1 +12.0 x 2−5 x3 =−92.0 → x 2=


−3.0 x1−2.0 x 2−12.0 x 3=−67.0
x 3=
−92.0−3.0 x 1 +5.0 x3
12
−67.0+3.0 x 1 +2.0 x 2
−12

4+ 4.0(0)−3.0(0)

{
x 1= =0.363636363636364
11
−92.0−3.0(0)+5.0 (0)
x2 = =−7.757575757575758
12
−67.0+3.0(0)+2.0( 0)
x 3= =6.785353535353535
−12

| x 2−x
¿ e 2=
0
x2 |
=1

N X1 x 2−x 0
X2 X3
e 3=|
x2 |
=1
1 0.363636363636364 -7.757575757575758 6.785353535353535
2 -4.307851239669422 -3.762473217018671 7.287375012753802
3 -2.992001627848735 -3.882260004390398 6.978377074360584
4 -2.951288294603941 -4.021187478698772 6.991353320100781
5 -3.005346352281584 -4.002266195220946 7.001714287273887
6 -3.001291603882313 -3.998962812665302 7.000150036414795
7 -2.999663759991418 -4.000021544829314 6.999919530802740
8 -2.999985888338680 -4.000037056747522 7.000002648209257
9 -3.000014197419806 -3.999995347224524 7.000002773892373
10 -2.999999064597747 -3.999999078062075 6.999999612493116
11 -2.999999559066150 -4.000000271694664 6.999999935048982
12 -3.000000081084146 -4.000000006791889 7.000000021403017
13 -3.000000008306964 -3.999999989005335 7.000000000244296
14 -2.999999996068567 -4.000000000881069 6.999999999163986
15 -3.000000000092385 -4.000000000325243 7.000000000077303
16 -3.000000000139353 -3.999999999932952 7.000000000023664
17 -2.999999999982073 -3.999999999994623 6.999999999994621
18 -2.999999999996578 -4.000000000003096 6.999999999999662
19 -3.000000000001033 -3.999999999999883 7.000000000000239
20 -3.000000000000023 -3.999999999999895 6.999999999999988
21 -2.999999999999959 -4.000000000000015 6.999999999999992
22 -3.000000000000003 -4.000000000000003 7.000000000000001
23 -3.000000000000001 -4.000000000000000 7
24 -3 -4 7
25 -3 -4 7

N E2 E3
1 1 1
2 1.061828831760495 0.068889205855561
3 0.030854911117818 0.044279341041704
4 0.034548867727333 0.001856042048810
5 0.004727642429287 0.001479775773190
6 8.260598336101411x10^-04 2.234596188588253x10^-04
7 2.646816153729656x10^-04 3.292975169802778x10^-05
8 3.877943625930574x10^-06 1.187391072469314x10^-05
9 1.042739287849098x10^-05 1.795472366658487x10^-08
10 9.327096025883397x10^-07 4.516284902935379x10^-07
11 2.984081270344455x10^-07 4.607940992198868x10^-08
12 6.622569370530696x10^-08 1.233629068139008x10^-08
13 4.446638403053806x10^-09 3.022674428109516x10^-09
14 2.968933320758279x10^-09 1.543300091081569x10^-10
15 1.389564019292057x10^-10 1.304739173830331x10^-10
16 9.807277212723420x10^-11 7.662822757252620x10^-12
17 1.541766714299028x10^-11 4.148935163685244x10^-12
18 2.118416553285621x10^-12 7.200589331140649x10^-13
19 8.033573806187868x10^-13 8.247371040072310x10^-14
20 2.997602166488002x10^-15 3.578090205077653x10^-14
21 3.008704396734163x10^-14 5.075305255429293x10^-16
22 3.108624468950436x10^-15 1.268826313857322x10^-15
23 7.771561172376097x10^-16 1.268826313857322x10^-16
24 1.110223024625157x10^-16 0
25 0 0
2. Use el método de Gauss-Jordán, con sistema de matriz diagonal
dominante para resolver los siguientes sistemas lineales.
(maneje un mínimo de seis cifras decimales o fracciones).
(Muestre proceso de transformación). (Valor 1.25; SP=0.9)

0.30 x1 +12 x 2−0.50 x3 =−48.0 11.000000 −0.4000000 0 −24.7828242

{
m= 0.30 x 1−0 .6 x2 +13 x 3=−22.65
11 x 1−0.40 x 2+ 3.0 x 3=−30.4
m
( 0
0
12.0109090
0
0 −48.2603007
12.8896457 −24.1344686 )
0.4000000
11 x 1−0.40 x 2+ 3.0 x 3=−30.4 f 1= ∗f 2+ f 1 ;
12.0109090
{
m= 0.30 x1 +12 x 2−0.50 x3 =−48.0
0.30 x 1−0 .6 x2 +13 x 3=−22.65 11.000000

0 0 −26.3900398
11 −0.4 3.0
(
m 0.3 12 −0.5
−30.4
−48
)
m
( 0
0
12.0109090
0
0 −48.2603007
12.8896457 −24.1344686 )
0.3 −0.6 13 −22.65
f1 f2 f3
−0.3 −0.3 f 1= ; f 2= ; f 3= ;
f 2= ∗f 1+ f 2 ; f 3= ∗f 1+ f 3; 11.000000 12.0109090 12.8896457
11 11 →

1 0 0 −2.3990945

m
( 0
m
()
11.000000 −0.4000000 3.0000000 −30.3999999 0 1 0 −4.0180389
12.0109090 −0.5818181 −47.1709090 0 0 1 −1.8723919
)
0 −0.5890909 12.9181818 −21.8290909
0.5890909
f 3= ∗f 2+f 3 ;
12.0109090

11.000000 −0.4000000 3.0000000 −30.3999999


m
( 0
0
12.0109090 −0.5818181 −47.1709090
0 12.8896457 −24.1344686 )
3. Obtenga la raíz de la función 𝒇(𝒙) = 𝒙𝒍𝒐𝒈𝟏𝟎(𝒙) − 𝟏𝟎 por el
método de la secante, tomando como aproximación inicial 𝒙𝟎 =
𝟖 𝒚 𝒙𝟏 = 𝟗. Construya y muestre la gráfica de esta ecuación y
donde está ubicada dicha raíz. Procesos. (Valor 1.25; SP=0.9)

f ( x )=xLog ( x )−10=0 con x 0=8 y x1 =9. tol=10−3

f ( x 1 )( x 1−x 0 )
x 2=x 1− =5.886429089616114
f ( x 1 )−f ( x 0 )

x2 −x1
er =| | x2
∗100 %=52.894052794695924

ea=|x 2−x 1|∗100 %=¿ 3.113570910383886e+02

N Raiz Error Aprox. Error Absoluto


1 5.88642908961611 52.894052794695924 3.113570910383886e+02
4
2 5.74156632255480 2.523053099504282 14.486276706131296
1
3 5.72898790314774 0.219557443997087 1.257841940705351
8
4 5.72892559040763 0.001087686323269 0.006231274011714
1
5 5.72892556538699 4.367422738643887x10^-07 2.502063978226943x10^-06
1
6 5.72892556538694 8.526871666591025x10^-13 4.884981308350689x10^-12
2
7 5.72892556538694 1.550340303016550x10^-14 8.881784197001252x10^-14
1
8 5.72892556538694 0 0
1

4. Use la factorización de LU con sistema diagonal dominantes


para resolver los siguientes sistemas lineales. (maneje un
mínimo de cinco cifras decimales). (Valor 1.25; SP=0.9)

0.1 x 1 +7 x2 −0.3 x3 =18.60 0.1 7 −0.3 18.60

{ (
A 0.3 x 1−0.2 x 2 +10 x 3=−51.70 a 0.3 −0.2 10 −51.70
3 x 1−0.1 x 2−0.2 x 3=−11.25 3 −0.1 −0.2 −11.25 )
0.0333 1.000 0
(
L 0.1000 −0.0271 1.0000
1.0000 0 0 )
−10 −−0.3 7
f 2 → f 1; f 3→ f 1 ; f 1= ∗f 3+ f 1 ; f 3= ∗f 2+ f 3 ; f 1= ∗f 3+ f 1;
0.2 0.2 0.1

3 −0.1000 −0.2000 −11.2500


(
U 0 7.0033
0 0
0.3067 18.9750
10.0283 −50.062 )
−0.3 −3 0.1
f 2= ∗f 1+ f 2 ; f 3= ∗f 1+ f 2; f 3= ∗f 2+ f 3 ;
0.1 0.1 0.2
MATLAB

You might also like