Documentos de Académico
Documentos de Profesional
Documentos de Cultura
4 x1 −x2 + x 3=7
4 x1 −8 x2 + x 3=−21
−2 x1 + x 2 +5 x3 =15
Use como vector inicial x(0) =¿ 1,2,2> ¿, itere hasta cuando E A =‖x −x(k)‖2 ≤ 0.00004 teniendo
en cuenta que la solución del sistema es x=¿ 2,4,3>¿ y consigne los resultados en la tabla.
Trabaje con 5 dígitos de precisión.
Solución:
4 −1 1 x 1 7
[ −2 1 5 x 3 ][ ] [ ]
4 −8 1 x 2 −21
=
15
1 1 7
E1 : x1 =(0)+ x 2− x3 +
4 4 4
1 1 21
E 2 : x 2= x + ( 0 ) + x 3 +
2 1 8 8
2 1
E3 : x 3= x 1− x 2+(0)+3
5 5
1 −1
[ ]
0 7
[ ][ ][
x 1 4 4 x1
(1)
x[]
x = x =
1
2
1
1
2
1
−2
3
5
0
1
5
1
8
0
1
x 22 +
x32
4
8
3
1.7500
21 = 3.37500
3.0000 ]
1 −1
[ ] [ ][ ] [ ] [
0 7
x 12 4 4 x 1.7500
4 1.84375
]
1
1 1
x(2) = x 22 = 0 x23.37500
+ 21 = 3.87500
2 8
x 32 x33.00002 8 3.02500
−2 1
0 3
5 5
1 −1
[ ][ ] [ ] [
0 7
x 3 4 4 x 1.84375
x
(3)
x =x =
1
2
−2
5
[]1
3
3
3
0
1
5
1
8
0
1
x 33.02500
4
8
3
1.96250
x 23.87500 + 21 = 3.92500
3.96250 ]
.
1 −1
[ ][ ] [ ] [
0 7
x1 11 4 4 x 1.999998
x (11)
[]
= x 211 =
x 311
1
2
−2
5
0
1
5
1
8
0
1
x33.000000
4
8
3
1.999999
x23.999996 + 21 = 3.999999
3.00000 ]
1 −1
[ ] [ ][ ] [ ] [
0 7
x1 12 4 4 x 1.999999
4 1.999999
]
1
1 1
x (12)
= x212 = 0 x 23.999999 + 21 = 3.999999
2 8
x 312 x 33.00000 8 2.999999
−2 1
0 3
5 5
k 1 2 3 4 5 6 7 8 9 10 11 12
(k)
x1
1,7500 1,8437 1,9625 1,9906 1,9985 1,9996 1,9999 1,9999 2,0000
0 5 0 2 1,99414 9 4 1,99977 4 1,99998 9 0
x(k)
2
3,3750 3,8750 3,9250 3,9765 3,9971 3,9991 3,9998 3,9999 4,0000
0 0 0 6 3,99531 8 1 3,99982 8 3,99996 9 0
x(k)
3
3,0000 3,0250 2,9625 3,0000 2,9985 3,0000 2,9999 3,0000 3,0000
0 0 0 0 3,00092 9 0 3,00003 4 3,00000 0 0
E A =‖x −x(k)‖2 0,6731 0,2016 0,0918 0,0252 0,0034 0,0009 0,0001 0,0000
4 5 5 4 0,00756 5 6 0,00029 4 0,00004 1 0
4 x1 +3 x 2=24
3 x 1+ 4 x 2−x 3=30
−x 2+ 4 x 3=−24
Cuya solución exacta es x= ⟨ 3 , 4 , −5 ⟩ use como vector inicial x (0 )=⟨ 1 ,1 , 1 ⟩. Trabaje con
4 dígitos de precisión.
SOLUCIÓN:
−3 (0)
[ ]
0 x 0
x 1 4 2 6
(1)
[]
x = x =
x
1
−3 (1)
2
3
1
x
4 1
1
0
0
−1 (2)
4 2
x
1 (0 ) ¿ 15
x
4 3 2¿
0
¿
5.2500
[ ]
−6 = 3.8125
−5.0468
−3 (1)
[ ][ []
0 0x
x 2 4 2 6 3.1406
]
1
2 −3 (2 ) 1 (1) ¿15
x(2) = x =
2
x1 0 x3 −6 = 3.8828
2
4 4 2¿
x −5.0293
3 −1 (2) ¿
0 x 0
4 2
−3 (2)
[ ][ ][
0 x 0
x 3 4 2 6 3.0879
]
1
(3) −3 (3 )
3 1 (2) ¿ 15
x =x = x 0 x3 −6 = 3.9267
4 1
2
3
4 2¿
x −5.0183
3 −1 (3) ¿
0 x 0
4 2
.
−3 (16)
[ ][
0 x 0
x 17 4 2 6
(1 7)
x = x
[]
x
1
3
17
17
=
−3 (1 7)
x
4 1
0
0
−1 (17)
x
4 2
1 (16) ¿ 15
4
x3
0
2¿
¿
3.0001
−6 = 3.9999
−5.0000 ]
−3 (17)
[ ][ []
0 x 0
x 18 4 2 6 3.0000
]
1
(1 8) 18 −3 (1 8) 1 (17) ¿ 15
x = x = x 0 x −6 = 4.0000
2
18
4 1 4 3 2¿
x −5.0000
3 −1 (18) ¿
0 x 0
4 2
−3 (18)
[ ][ ][
0 x 0
x 19 4 2 6 3.0000
]
1
(1 9) 19 −3 (1 9) 1 (18) ¿ 15
x = x = x 0 x3 −6 = 4.0000
2
19
4 1 4 2¿
x −5.0000
3 −1 (19) ¿
0 x 0
4 2
K 1 2 3 4 5 6 7 8 9 10 11 12
(k)
x 1
3.140
5.2500 6 3.0879 3.0549 3.0343 3.0214 3.0134 3.0084 3.0052 3.0033 3.0021 3.0013
(k)
x 2
3.882
3.8125 8 3.9267 3.9542 3.9714 3.9821 3.9888 3.9930 3.9956 3.9972 3.9982 3.9982
(k)
x 3
- -
5.029 5.0188
-5.0468 3 3 -5.0114 -5.0071 -5.0044 -5.0028 -5.0017 -5.0011 -5.0007 -5.0004 -5-0002
E A =‖x −x (k)
‖2
13 14 15 16 17 18 19
K
x(k) 3.0008 3.0005 3.0003 3.0002 3.0001 3.0000 3.0000
1
3.9993 3.9996 3.9997 3.9998 3.9999 4.0000 4.0000
x(k)
2
(k)
x3 -5.0001 -5.0001 -5.0000 -5.0000 -5.0000 -5.0000 -5.0000
E A =‖x −x(k)‖2
6) Determine un polinomio: P ( x ) =a x 6+ b x 4 +c x 2 +d Que satisfaga las siguientes
d2 d2
condiciones: P ( 0 )=2 , P (−1 )=8, [ P ( 0 ) ] =−2, [ P (−1 ) ] =8
d x2 d x2
Sol .
Pn debe ser un polinomi de la siguiente estructura
P ( x ) =a x 6+ b x 4 +c x 2 +d
Solución:
La primera condición es:
entonces
d=2 EC no .1
entonces
a+ b+c +d=8 EC no ,2
d2 4 2
2[
P(x ) ] =30 ax +12 b x +2 c
dx
d2
[ P(0) ] =30 a (0¿¿ 4 )+ 12b (0¿¿ 2)+ 2c =−2¿ ¿
d x2
2 c=−2
Entonces
c=−1 EC no .3
Entonces
a+ b=7 EC no . 5
30 a+12 b=10 EC no .6
De la Ec 5 despejamos a
a=7−b
Reemplazando en EC 6
30(7−b)+12 b=10
210−18 b=10
200 100
b= =
18 9
Por tanto
200 −74 −37
a=7− = =
18 18 9
Luego
−37 6 100 4 2
P ( x) = x + x −x +2
9 9
1. P 4 ( x )=?
2. P 5 ( x )=?
4
f (k ) (2) x 4
3. Sol. 1. P 4 ( x )=∑
k=0 0!
f ( 0) (2)(x−2)0 f ( 1) (2)( x−2)1 f (2 )(2)( x−2)2 f (3) (2)( x−2)3 f (4 ) (2)(x−2)4
+ + + +
0! 1! 2! 3! 4!
f (2 ) (2)( x 2−4 x +4) f ( 3) (2)( x3 +6 x 2 +12 x−8) f ( 4 )(2)(x 4 −8 x3 +24 x 2−32 x+16)
f (0 ) ( 2 )∗1+ f (1 )( 2)(x−2)❑+ + +
2 6 24
SOLUCIÓN: Primero que todo, resolvemos la integral para encontrar la función en la cual es:
x
x
f ( x )=∫ cos (t )dt → f ( x )= [ sen( t) ] π → f ( x )=sen ( x ) −sen
π 2
( π2 )
2
f ( x )=sen ( x )−1
f ( 2) ( x o ) ( 3)
2 f ( xo ) 3
P4 ( x )=f (0 ) ( x o ) + f (1 ) ( x o ) ( x−x o ) + ( x−x o) + ( x−x o )
2 6
+ f ( 4 ) ( xo )
( x−x o )4
24
1 3
P4 ( x )=[ sen ( 0 )−1 ]+ [ cos ( 0 ) ( x) ] +¿+¿ P4 ( x )=−1+ x− x
6
Como sabemos que la función original es f ( x )=sen ( x )−1, podemos sencillamente evaluarla a
0.1, quedando de la siguiente manera, tal que f ( 0.1 ) ≈ P4 ( 0.1 ):
1
f ( 0.1 ) ≈ P4 ( 0.1 ) → f ( 0.1 ) ≈−1+ ( 0.1 )− ( 0.1 )3 → f ( 0.1 )=−0.90016666
6