Vous êtes sur la page 1sur 9

Mtodos Numrico I

Facultad Nacional de Ingeniera

EJERCICIOS RESUELTOS
MAT 1105

MTODOS NUMERICOS I

DOCENTE: Ing. Freddy Zambrana Rodrguez


AUXILIAR: Univ. Jhonny Nina Gutirrez
FECHA DE EMICION: 18 enero 2 010

ECUACIONES NO LINEALES
1. La ecuacin x + e x 2 cos x = 0 tiene nica raz en el intervalo [-1,0]. Utiliza el mtodo de
NEWTON-RAPHSON para obtener esta raz con cuatro decimales correctos.

f ( x) = x + e x 2 cos x = 0

f ' ( x) =1 2 x e x 2 cos x e x 2 sen x


1 Iteracin x0 = 0,7 = 10 3

2 Iteracin x1 = 0,5871395592

i) f ( x) = 0,2314374887
f ' ( x ) = 2,050652

i) f ( x) = 2,631751139*103
f ' ( x ) = 2,085002

ii) R/Valores:

ii) x 2 = 0,5871395592

xi +1 = xi

f ( xi )
f ' ( xi )
iii)

Aux. Jhonny-Nina-Gutirrez

xi xi +1

2,631751139 * 10 3
2,085002
x 2 = 0,5884017887

x1 x 2

Pg. 1/9

Mtodos Numrico I

xi +1

Facultad Nacional de Ingeniera

0,5871395592 + 0,5884017887 10 3

0,548464308
= 0,7
3,300031288

1,262229551 10 3

xi +1 = 0,5871395592
x = 0,5884

iii) criterio de prada

0,7 0,5871395592 10

0,112862440810 3
Resumiendo en tabla:
i
1
2
3
4

xi
-0,7
-0,587139
-0,588402
-0,588402

xi +1
-0,587139
-0,588402
-0,588402
-0,588402

Error
0
0,112860
1,26229 * 10 3
1,223269 * 10 3

2. Las funciones F(x) = 0 tienen una Raiz positiva. Determinarlas con un error menor que
0,001.
METODO DE BISECCION
1
1
a) = ln x ;
ln x = 0
x
x
y

1 Iteracin
x A = 1,5
xB = 2
= 0,0001
x + x B 1,5 + 2
i) x m = A
=
2
2

xm = 1,75
1
= 0,11812783
1,75
f ( xm ) 0 x A = xm ; x B = x B
x A = 1,75 ; x B = 2
iii) f ( xm )

ii) f ( xm )0 ln 1,75

0,011812783479 104 No cumple!


Aux. Jhonny-Nina-Gutirrez

2 Iteracion
x A = 1,5
xB = 2
1,5 + 2
i) x m =
= 1875
2
ii) f ( xm ) = ln 1,875

1
1,875

f ( xm ) = 0,09527532609
f ( xm ) 0 x B = xm ; x A = x A
x A = 1,75 ; x B = 1,875
iii) f ( xm )
0,09527532609 104
Pg. 2/9

Mtodos Numrico I

Facultad Nacional de Ingeniera

Resumiendo en Tabla:
i
1
2
3
4
5
6
7
8
9
10

xA
1,5
1,75
1,75
1,75
1,75
1,75
1,7578125
1,76171875
1,76171875
1,762695313

xB
2
2
1,875
1,8125
1,76565
1,795625
1,755625
1,7636718
1,763671878
1,763671875

xm
1,75
1,875
1,8125
1,7812
1,7578125
1,76171875
1,763671875
1,762695313
1,762695313
1,763183594

Error
0,01181278349
0,09521532609
0,04298296982
0,01591185626
2,133053937*10 .3
4,818750604*10 .3
1,3374599434*10 .3
3,990357972*10 .4
4,689545531*10 .4
3,487737156*10 .5

x = 1,763183594

b) tan (0,1x) = 9,2 e

METODO DE LA SECANTE

f ( x) = tan (0,1x) 9,2e x

1 Iteracin
x0 = 3,2

x1 = 3,7

= 10

i) f ( x0 ) = tan (0,1 * 3,2) 9,2 e 3, 2

f ( x0 ) = 0,04362287138
f ( x1 ) = tan (0,1 * 3,7) 9,2 e 3, 7
f ( x1 ) = 0,1604067181

2 Iteracin
f ( x1 ) = 0,1604067818

f ( x2 ) = 6,30562662*10 3
ii) x3 = 3,290818264
iii) 3,3069032396 3,240818264 10 4

0,0160850323 3 10 4

0,1604067181(3,7 3,2)
0,160406181+ 0,04362287138
x 2 = 3,306902296
3,7 3,306903296 10 4
x2 = 3,7

0,3930967036 10 4

Aux. Jhonny-Nina-Gutirrez

Pg. 3/9

Mtodos Numrico I

Facultad Nacional de Ingeniera

Resumiendo en Tabla:
i
1
2
3
4
5

Xi
3,2
3,7
3,306903296
3,290818264
3,292935466

Xi+1
3,7
3,306903296
3,290818264
3,292935466
3,292924623

ERROR
0
0,3930967036
0,01608503233
2,117201933*10 3
1,084272105*10 5

x = 3,292924623

c) ln ( x + 1) - x + 1 = 0

METODO DE REGULA FALSI


y
x

1 Iteracin
x A = 1,9
x B = 2,3
f ( x A ) = ln (1,9 + 1) 1,9 + 1 = 0,164710737
i)
f ( x B ) = ln (2,3 + 1) 2,3 + 1 = 0,1060775315

= 104

1,9(0,1060775315) 2,3(0,164710737)
0,1060775315 0,164710737
xm = 2,143305573
iii) f ( x m ) 0 x n = x n ; x g = x m
xm =

ii)

f ( x m ) = ln ( 2,143305573 + 1) 2,143305573 + 1 = 1,969403536 * 10 3

f ( xm ) 0
iv)
2 Iteracin

x A = 1,9 ; xB = 2,143305573
f ( xm )
1,969403536 * 10 3 10 4

x A = 1,9

Aux. Jhonny-Nina-Gutirrez

x B = 2,143305573

Pg. 4/9

= 10 4

Mtodos Numrico I

Facultad Nacional de Ingeniera

f ( x A ) = 0,164710737

i)

f ( x B ) = 1,969403536 * 10 3
xm = 2,1452149919
ii)
iii) f ( xm ) 0 x A = xm ; x B = x B
f ( x m ) = ln ( 2,146249919 + 1) 2,146249919 + 1 = 3,86774416 * 10 5

f ( x m ) 2,1406249919 *10 3 10 4 no cumple !!

Resumiendo en Tabla:
i

xA

xB

Xm

1
2
3

1,9
1,9
2,146249919

2,3
2,143305573
2,143305573

2,143305573
2,146249919
2,146193208

Error
0
1,969403536*
10 3
3,86774416*10 5

x = 2,146193208

x 3 + xy + y 3 = 3....1

sen x y 2 = 0........2

3. Dada las curvas

Determine la interseccin de las curvasen un punto con una tolerancia de 3 dgitos


De la Ecuacin (2)
y = sen x
Reemplazando en (1)
1

f ( x ) = x 3 + x (sen x) 2 + (sen x) 2 3 = 0
1
2

3x
3
f ( x) = 3 x + ( sen x) + ( sen x) 2 + ( sen x ) 2 = 0
2
2
'

Aux. Jhonny-Nina-Gutirrez

Pg. 5/9

Mtodos Numrico I

Facultad Nacional de Ingeniera

Graficando y asumiendo valor de inicio:


y
X

1 Iteracin

2 Iteracin
i ) f ( x1 ) = 0,0769948975 5

i ) f ( x0 ) = 0,7811587688
f ' ( x 0 ) = 4,45635

f ' ( x1 ) = 5,3481955

ii ) R / valores

ii ) R / valores

(0,7811587688)
4,45635
x1 = 1,07521162

0,0769948975 5
5,3481955
x2 = 1,060894736

x1 = 0,9

x2 = 1,075291162

iii ) 0,9 1,075291162 10 3

iii ) 1,075291162 1,060894736 10 3


0,0143964254 10 3

0,1752911618 10 3

Resumiendo en Tablas:
i
1
2
3
4

Xi
0,9
1,075291162
1,060894736
1,060790355

Xi+1
1,075291162
1,060894736
1,060790355
1,060790349

Error
----0,17522911615
0,0143964254
1,043815723*10-4

x = 1,060790349

4. El desplazamiento de una estructura esta definida por la siguiente ecuacin para una
oscilacin amortiguada;
y = 8 e k t cos w t
Donde k=0,5 y w = 3 a) Use el Mtodo Grafico para hacer una primera estimacin del
tiempo requerido para que el desplazamiento en [4,7]. b) use el Mtodo Newton-Raphson
para determinar la raz al error=0,01
Reemplazando valores en la ecuacin:
f (t ) = 8 e 0, 5 t cos (3 t )

Aux. Jhonny-Nina-Gutirrez

Pg. 6/9

Mtodos Numrico I

Facultad Nacional de Ingeniera

Realizando un cambio de variable:


c.v. x=t.
f ( x ) = 8 e 0, 5 x cos (3 x )

f ' ( x ) = 8 e 0, 5 x ( 0,5) cos ( 3 x ) + 8 e 0, 5 x sen (3 x )* 3

Graficando y asumiendo valor de inicio:

1 Iteracin

2 Iteracin

i ) f ( x0 ) = 0,2653369372

i ) f ( x1 ) = 4,527420896 *10 3

f ' ( x0 ) = 2,40340055
ii ) x1 = 4,710400631

f ' ( x1 ) = 2,279211198
ii ) x2 = 4,712387029

iii ) 4,8 4,710400631 10 3

iii ) 4,710400631 4,712387029 10 3

0,110400631 10 3 o cumple

1,986398146 *10 3 10 3

Resumiendo en Tablas:
i
1
2
3

xi
4,6
4,71040031
4,712387029

xi+1
4,71040031
4,712387029
4,71238898

Error
---0,110400631
1,986398146*10-3

x = 4,71238898

5.La curva formada por un cable colgante se llama catenaria.


Suponiendo que el punto mas bajo de una catenaria es el origen (0,0), entonces la ecuacin
de la catenaria es y = C cosh( x / c) c , determinar la catenaria que pasa por los puntos P(10,6) y Q (10,6).
Sol.

R/ P. en la ecuacin
G = C cosh

(10)
C
C

Mtodo de la Secante
Aux. Jhonny-Nina-Gutirrez

Pg. 7/9

Mtodos Numrico I

Facultad Nacional de Ingeniera

Se asume los valores de inicio

x0 = 9 x1 = 9,1 , = 10 3
1 ITERACIN
i) f ( x 0 ) = 0 ,1511614
f ( x1 ) = 0,070171

ii) Para

R/Valores

x i +1 = x i

f ( x i )( x i x i 1 )
f ( x i ) f ( x i 1 )

x 2 = 9,1

i=0, 1, 2, 3,

0,070171( 9,1 9)
0,070171 0,15116

x 2 = 9,18664

iii) ERROR // x i x i + 1 // < // 9 ,18664 9 ,1 // < 10 3

0,0866 < 10 3 NO!!!


2 ITERACIN
i) f ( x 1 ) = 0 , 701715

f 1 ( x2 ) = 0,001792

ii) R/Valores x3 = 9,18664

0,001792(9,18664 9,1)
0,001792 0,07017)

x3 = 9,18891
iii) ERROR // 9 ,18664 9 ,18891 // < 10

0,002271 < 103 NO!!!

Aux. Jhonny-Nina-Gutirrez

Pg. 8/9

Mtodos Numrico I

Facultad Nacional de Ingeniera

Resumiendo en
TABLA
i

xi

Xi+1
9

ERROR

9,1

1 9,1

9,18664

0,08664

2 0,18664

9,18891

0,00227

3 9,18891

9,18894

2,7 x105 < 10 3 CUMPLE!

C = 9,1889414 Sol.

Aux. Jhonny-Nina-Gutirrez

Pg. 9/9

Vous aimerez peut-être aussi