Вы находитесь на странице: 1из 29

# Tecnologico de Estudios Sup

Métodos Num
Practica #2 "Raices d
Herrera Galindo Bre
Ecuación = x^2+2x-15

Raices -5 3

a= 0 it x1
b= -7 1 0
2 -3.5
n= 3 3 -3.5
Es= 0.05 % 4 -4.375
5 -4.8125
6 -4.8125
7 -4.921875
GRAFICA 𝑋^2+2𝑋−15 8 -4.9765625
300 9 -4.9765625
10 -4.99023438
250 11 -4.99707031
200
12 -4.99707031
13 -4.9987793
150 14 -4.99963379
15 -4.99963379
100
16 -4.99984741
50

0
-20 -15 -10 -5 0 5 10 15 20
-50
de Estudios Superiores de Huixquilucan
Métodos Numéricos
Practica #2 "Raices de ecuaciones"
Herrera Galindo Brenda Berenice

## f(x1) x2 f(x2) f(x1)*f(x2)<0 f(x1)*f(x2)<0

-15 -7 20 -300 CORRECTO
-9.75 -7 20 -195 CORRECTO
-9.75 -5.25 2.0625 -20.109375 CORRECTO
-4.609375 -5.25 2.0625 -9.5068359375 CORRECTO
-1.46484375 -5.25 2.0625 -3.021240234375 CORRECTO
-1.46484375 -5.03125 0.25097656 -0.367641448974609 CORRECTO
-0.61889648 -5.03125 0.25097656 -0.155328512191772 CORRECTO
-0.18695068 -5.03125 0.25097656 -0.046920239925385 CORRECTO
-0.18695068 -5.00390625 0.03126526 -0.005845061503351 CORRECTO
-0.07802963 -5.00390625 0.03126526 -0.002439616655465 CORRECTO
-0.02342892 -5.00390625 0.03126526 -0.000732511151 CORRECTO
-0.02342892 -5.00048828 0.00390649 -9.15247926514E-05 CORRECTO
-0.00976413 -5.00048828 0.00390649 -3.814347984132E-05 CORRECTO
-0.00292955 -5.00048828 0.00390649 -1.144426638788E-05 CORRECTO
-0.00292955 -5.00006104 0.00048828 -1.430456904428E-06 CORRECTO
-0.00122068 -5.00006104 0.00048828 -5.960396264569E-07 CORRECTO
𝑥𝑟=(𝑥1+𝑥2)/2

xr f(xr) Et Et% Ea
-3.5 -9.75 -1.5 30 ------
-5.25 2.0625 0.25 -5 33.3333333
-4.375 -4.609375 -0.625 12.5 20
-4.8125 -1.46484375 -0.1875 3.75 9.09090909
-5.03125 0.25097656 0.03125 -0.625 4.34782609
-4.921875 -0.61889648 -0.078125 1.5625 2.22222222
-4.9765625 -0.18695068 -0.0234375 0.46875 1.0989011
-5.00390625 0.03126526 0.00390625 -0.078125 0.54644809
-4.990234375 -0.07802963 -0.00976563 0.1953125 0.2739726
-4.9970703125 -0.02342892 -0.00292969 0.05859375 0.13679891
-5.00048828125 0.00390649 0.00048828 -0.00976563 0.0683527
-4.998779296875 -0.00976413 -0.0012207 0.02441406 0.03418803
-4.9996337890625 -0.00292955 -0.00036621 0.00732422 0.0170911
-5.00006103515625 0.00048828 6.10352E-05 -0.0012207 0.00854482
-4.99984741210938 -0.00122068 -0.00015259 0.00305176 0.00427259
-4.99995422363281 -0.00036621 -4.5776E-05 0.00091553 0.00213625
GRAFICA
X x^2+2x-15
16 273
15 240
14 209
13 180
12 153
11 128
10 105
9 84
8 65
GRAFICA
7 48
6 33 300

5 20 250
4 9
3 0 200
2 -7
150
1 -12
0 -15 100
-1 -16
50
-2 -15
-3 -12 0
-4 -7 -20 -15 -10 -5 0 5 10 15 2

-5 0 -50
-6 9
-7 20
-8 33
-9 48
-10 65
-11 84
-12 105
-13 128
-14 153
A

5 10 15 20
Ecuación = x^2+2x-15

Raices -5 3

a= 0 it x1
b= -7 1 0
2 -3
n= 3 3 -4.5
Es= 0.05 % 4 -4.89473684
5 -4.9787234
6 -4.99573561
7 -4.99914676
GRAFICA 𝑋^2+2𝑋−15 8 -4.99982934
300 9 -4.99996587
10 -4.99999317
250 11 -4.99999863
200
12 -4.99999973
13 -4.99999995
150 14 -5
15 -5
100

50

0
-20 -15 -10 -5 0 5 10 15 20
-50
150

100

50

0
-20 -15 -10 -5 0 5 10 15 20
-50
𝑥𝑟=𝑥_2 −[(𝑓 〖 (𝑥 〗 _2)
(𝑥_(1−) 𝑥_2))/(𝑓(𝑥_1 )
f(x1) x2 f(x2) f(x1)*f(x2)<0 f(x1)*f(x2)<0−𝑓 〖 (𝑥 〗 _2))]
-15 -7 20 -300 CORRECTO
-12 -7 20 -240 CORRECTO
-3.75 -7 20 -75 CORRECTO
-0.83102493 -7 20 -16.6204986149584 CORRECTO
-0.16976007 -7 20 -3.39520144861922 CORRECTO
-0.03409695 -7 20 -0.681939071017155 CORRECTO
-0.00682521 -7 20 -0.136504210881867 CORRECTO
-0.00136528 -7 20 -0.027305501619495 CORRECTO
-0.00027306 -7 20 -0.005461286730295 CORRECTO
-5.4613E-05 -7 20 -0.001092264802516 CORRECTO
-1.0923E-05 -7 20 -0.000218453258682 CORRECTO
-2.1845E-06 -7 20 -4.36906636736E-05 CORRECTO
-4.3691E-07 -7 20 -8.738133132624E-06 CORRECTO
-8.7381E-08 -7 20 -1.747626754423E-06 CORRECTO
-1.7476E-08 -7 20 -3.495253508845E-07 CORRECTO
𝑥𝑟=𝑥_2 −[(𝑓 〖 (𝑥 〗 _2)
(𝑥_(1−) 𝑥_2))/(𝑓(𝑥_1 )
−𝑓 〖 (𝑥 〗 _2))]xr f(xr) Et Et% Ea
-3 -12 -2 40 ------
-4.5 -3.75 -0.5 10 33.3333333
-4.89473684210526 -0.83102493 -0.10526316 2.10526316 8.06451613
-4.97872340425532 -0.16976007 -0.0212766 0.42553191 1.68690958
-4.99573560767591 -0.03409695 -0.00426439 0.08528785 0.3405345
-4.99914675767918 -0.00682521 -0.00085324 0.01706485 0.06823464
-4.99982933697414 -0.00136528 -0.00017066 0.00341326 0.01365205
-4.9999658668123 -0.00027306 -3.4133E-05 0.00068266 0.00273062
-4.99999317333916 -5.4613E-05 -6.8267E-06 0.00013653 0.00054613
-4.9999986346669 -1.0923E-05 -1.3653E-06 2.73067E-05 0.00010923
-4.99999972693334 -2.1845E-06 -2.7307E-07 5.46133E-06 2.18453E-05
-4.99999994538667 -4.3691E-07 -5.4613E-08 1.09227E-06 4.36907E-06
-4.99999998907733 -8.7381E-08 -1.0923E-08 2.18453E-07 8.73813E-07
-4.99999999781547 -1.7476E-08 -2.1845E-09 4.36907E-08 1.74763E-07
-4.99999999956309 -3.4953E-09 -4.3691E-10 8.73813E-09 3.49525E-08
GRAFICA
X x^2+2x-15
16 273
15 240
14 209
13 180
12 153
11 128
10 105
9 84
8 65
GRAFICA
7 48
6 33 300

5 20 250
4 9
3 0 200
2 -7
150
1 -12
0 -15 100
-1 -16
50
-2 -15
-3 -12 0
-4 -7 -20 -15 -10 -5 0 5 10 15 2

-5 0 -50
-6 9
-7 20
-8 33
-9 48
-10 65
-11 84
-12 105
-13 128
-14 153
A

5 10 15 20
f(xi) = x^2+2x-15
f՚(xi)= 2x+2
Raiz 3

a= 0 it Xi
b= -7 1 7
2 4
n= 3 3 3.1
Es= 0.05 % 4 3.00121951
5 3.00000019

GRAFICA 𝑋^2+2𝑋−15
25

20

15

10

0
0 1 2 3 4 5 6
-5

-10
10

0
0 1 2 3 4 5 6
-5

-10

-15

-20
𝑥_𝑖+1=𝑥_𝑖 −[(𝑓 〖 (𝑥 〗 _𝑖))/
(𝑓՚(𝑥_𝑖 ) )]
f(xi) f՚(xi) Xi+1 Et Et% Ea
48 16 4 -1 -33.3333333 ------
9 10 3.1 -0.1 -3.33333333 900
0.81 8.2 3.00121951219512 -0.00121951 -0.04065041 8100
0.00975758 8.00243902439024 3.00000018584459 -1.8584E-07 -6.1948E-06 656099.999
1.48676E-06 8.00000037168918 3 0 0 #DIV/0!

6
6
GRAFICA
X x^2+2x-15
5 20
4 9
3 0
2 -7
1 -12
0 -15

GRAFICA
25

20

15

10

0
0 1 2 3 4 5
-5

-10

-15

-20
A

4 5 6
f(xi) = x^2+2x-15

Raiz 3

a= 0 it Xi
b= -7 1 4
2 3.5
n= 3 3 3.05263158
Es= 0.05 % 4 3.00307692
5 3.0000201

GRAFICA 𝑋^2+2𝑋−15
25

20

15

10

0
0 1 2 3 4 5 6
-5

-10
10

0
0 1 2 3 4 5 6
-5

-10

-15

-20
𝑥_𝑖+1=𝑥_𝑖 −[(𝑓 〖 (𝑥 〗 _𝑖)(𝑥_𝑖−1)−
(𝑥_𝑖))/(𝑓(𝑥_𝑖−1)−𝑓(𝑥_𝑖))]
f(xi) Xi-1 f(xi-1) Xi+1 Et
9 3.5 4.25 3.05263157894737 -0.05263158
4.25 3.05263158 0.4238227146814 3.00307692307692 -0.00307692
0.42382271 3.00307692 0.024624852071 3.00002010292699 -2.0103E-05
0.02462485 3.0000201 0.00016082382 3.0000000077289 -7.7289E-09
0.00016082 3.00000001 6.1831222808E-08 3.00000000000002 -1.954E-14

6
6
Et% Ea
-1.75438596 ------
-0.1025641 1610.52632
-0.0006701 15205.8462
-2.5763E-07 260000.656
-6.5133E-13 39554313.6
GRAFICA
X x^2+2x-15
5 20
4 9
3 0
2 -7
1 -12
0 -15

GRAFICA
25

20

15

10

0
0 1 2 3 4 5
-5

-10

-15

-20
A

4 5 6