Está en la página 1de 9

Métodos Numérico I Facultad Nacional de Ingeniería

EJERCICIOS RESUELTOS
MAT – 1105 “ A”
MÉTODOS NUMERICOS I

DOCENTE: Ing. Freddy Zambrana Rodríguez

AUXILIAR: Univ. Jhonny Nina Gutiérrez

FECHA DE EMICION: 18 enero 2 010

ECUACIONES NO LINEALES

1. La ecuación x + e − x 2 cos x = 0 tiene única raíz en el intervalo [-1,0]. Utiliza el método de


NEWTON-RAPHSON para obtener esta raíz 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º Iteración x0 = − 0,7 ε = 10 −3 2º Iteración x1 = − 0,5871395592
i) f ( x) = − 0,2314374887 i) f ( x) = 2,631751139*10−3
f ' ( x ) = 2,050652 f ' ( x ) = 2,085002
2,631751139 * 10 −3
ii) R/Valores: ii) x 2 = − 0,5871395592 −
2,085002
f ( xi )
xi +1 = xi − x 2 = − 0,5884017887
f ' ( xi )
xi − xi +1 ≤ε
iii)
x1 − x 2 ≤ ε

Aux. Jhonny-Nina-Gutiérrez Pág. 1/9


Métodos Numérico I Facultad Nacional de Ingeniería

0,548464308 − 0,5871395592 + 0,5884017887 ≤ 10 −3


xi +1 = − 0,7 −
3,300031288 1,262229551 ≤ 10 −3

xi +1 = − 0,5871395592
iii) criterio de prada x = − 0,5884
−3
− 0,7 − 0,5871395592 ≤10
0,1128624408≤10 −3

Resumiendo en tabla:
i xi xi +1 Error
1 -0,7 -0,587139 0
2 -0,587139 -0,588402 0,112860
3 -0,588402 -0,588402 1,26229 * 10 −3
4 -0,588402 -0,588402 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º Iteración 2º Iteracion
x A = 1,5 xB = 2 ε = 0,0001 x A = 1,5 xB = 2
x + x B 1,5 + 2 1,5 + 2
i) x m = A = i) x m = = 1875
2 2 2
1
xm = 1,75 ii) f ( xm ) = ln 1,875 −
1,875
1
ii) f ( xm )0 ln 1,75 − = −0,11812783 f ( xm ) = 0,09527532609
1,75
f ( xm ) ≤ 0 ⇒ x A = xm ; x B = x B f ( xm ) ≥ 0 ⇒ x B = xm ; x A = x A
x A = 1,75 ; x B = 2 x A = 1,75 ; x B = 1,875
iii) f ( xm ) ≤ ε iii) f ( xm ) ≤ ε
0,011812783479 ≤ 10−4 No cumple! 0,09527532609 ≤ 10−4

Aux. Jhonny-Nina-Gutiérrez Pág. 2/9


Métodos Numérico I Facultad Nacional de Ingeniería

Resumiendo en Tabla:

i xA xB xm Error
1 1,5 2 1,75 0,01181278349
2 1,75 2 1,875 0,09521532609
3 1,75 1,875 1,8125 0,04298296982
4 1,75 1,8125 1,7812 0,01591185626
5 1,75 1,76565 1,7578125 2,133053937*10 −.3
6 1,75 1,795625 1,76171875 4,818750604*10 −.3
7 1,7578125 1,755625 1,763671875
1,3374599434*10 −.3
8 1,76171875 1,7636718 1,762695313
9 1,76171875 1,763671878 1,762695313 3,990357972*10 −.4
10 1,762695313 1,763671875 1,763183594 4,689545531*10 −.4
3,487737156*10 −.5

x = 1,763183594
−x
b) tan (0,1x) = 9,2 e “METODO DE LA SECANTE”

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

1º Iteración 2º Iteración
x0 = 3,2 x1 = 3,7 ε = 10 −4
f ( x1 ) = 0,1604067818
i) f ( x0 ) = tan (0,1 * 3,2) − 9,2 e −3, 2 f ( x2 ) = 6,30562662*10 −3
f ( x0 ) = − 0,04362287138 ii) x3 = 3,290818264
f ( x1 ) = tan (0,1 * 3,7) − 9,2 e −3, 7 iii) 3,3069032396 − 3,240818264 ≤ 10 −4
f ( x1 ) = 0,1604067181 0,0160850323 3 ≤ 10 − 4

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

Aux. Jhonny-Nina-Gutiérrez Pág. 3/9


Métodos Numérico I Facultad Nacional de Ingeniería

Resumiendo en Tabla:

i Xi Xi+1 ERROR
1 3,2 3,7 0
2 3,7 3,306903296 0,3930967036
3 3,306903296 3,290818264 0,01608503233
4 3,290818264 3,292935466 2,117201933*10 −3
5 3,292935466 3,292924623 1,084272105*10 −5

x = 3,292924623

c) ln ( x + 1) - x + 1 = 0 “METODO DE REGULA FALSI”

y
x

1º Iteración x A = 1,9 x B = 2,3 ε = 10−4


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

1,9(−0,1060775315) − 2,3(0,164710737)
ii) xm =
− 0,1060775315− 0,164710737
xm = 2,143305573
iii) f ( x m ) ≥ 0 ⇒ x n = x n ; x g = x m
f ( x m ) = ln ( 2,143305573 + 1) − 2,143305573 + 1 = 1,969403536 * 10 −3
f ( xm ) ≥ 0 x A = 1,9 ; xB = 2,143305573
f ( xm ) ≤ ε
iv)
1,969403536 * 10 −3 ≤ 10 − 4
2º Iteración x A = 1,9 x B = 2,143305573 ε = 10 −4

Aux. Jhonny-Nina-Gutiérrez Pág. 4/9


Métodos Numérico I Facultad Nacional de Ingeniería

f ( x A ) = 0,164710737
i)
f ( x B ) = 1,969403536 * 10 −3
ii) xm = 2,1452149919
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 Error
0
1 1,9 2,3 2,143305573 1,969403536*
2 1,9 2,143305573 2,146249919
10 −3
3 2,146249919 2,143305573 2,146193208
3,86774416*10 −5
x = 2,146193208

3. Dada las curvas  x 3 + xy + y 3 = 3....1



sen x − y 2 = 0........2

Determine la intersección de las curvasen un punto con una tolerancia de 3 dígitos

De la Ecuación (2)
y = sen x

Reemplazando en (1)
1 3
f ( x ) = x 3 + x (sen x) 2 + (sen x) 2 − 3 = 0
1 1 1
3x − 3
f ( x) = 3 x + ( sen x) + ( sen x) 2 + ( sen x ) 2 = 0
' 2 2
2 2

Aux. Jhonny-Nina-Gutiérrez Pág. 5/9


Métodos Numérico I Facultad Nacional de Ingeniería

Graficando y asumiendo valor de inicio:

1º Iteración 2º Iteración
i ) f ( x0 ) = −0,7811587688 i ) f ( x1 ) = 0,0769948975 5
f ' ( x 0 ) = 4,45635 f ' ( x1 ) = 5,3481955
ii ) R / valores ii ) R / valores
(−0,7811587688) x2 = 1,075291162 −
0,0769948975 5
x1 = 0,9 −
4,45635 5,3481955
x1 = 1,07521162 x2 = 1,060894736
iii ) 0,9 − 1,075291162 ≤ 10 −3 iii ) 1,075291162 − 1,060894736 ≤ 10 −3

0,1752911618 ≤ 10 −3 0,0143964254 ≤ 10 −3

Resumiendo en Tablas:

i Xi Xi+1 Error
1 0,9 1,075291162 -----
2 1,075291162 1,060894736 0,17522911615
3 1,060894736 1,060790355 0,0143964254
4 1,060790355 1,060790349 1,043815723*10-4

x = 1,060790349

4. El desplazamiento de una estructura esta definida por la siguiente ecuación para una
oscilación amortiguada;
y = 8 e − k t cos w t

Donde k=0,5 y w = 3 a) Use el Método Grafico para hacer una primera estimación del
tiempo requerido para que el desplazamiento en [4,7]. b) use el Método Newton-Raphson
para determinar la raíz al error=0,01

Reemplazando valores en la ecuación:

f (t ) = 8 e −0, 5 t cos (3 t )

Aux. Jhonny-Nina-Gutiérrez Pág. 6/9


Métodos Numérico I Facultad Nacional de Ingeniería

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º Iteración 2º Iteración

i ) f ( x0 ) = 0,2653369372 i ) f ( x1 ) = 4,527420896 *10 −3


f ' ( x0 ) = −2,40340055 f ' ( x1 ) = −2,279211198
ii ) x1 = 4,710400631 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 xi xi+1 Error
1 4,6 4,71040031 ----
2 4,71040031 4,712387029 0,110400631
3 4,712387029 4,71238898 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 ecuación
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 ecuación
(−10)
G = C cosh −C
C
Método de la Secante

Aux. Jhonny-Nina-Gutiérrez Pág. 7/9


Métodos Numérico I Facultad Nacional de Ingeniería

Se asume los valores de inicio


x0 = 9 ∧ x1 = 9,1 , ε = 10 −3
1º ITERACIÓN
i) f ( x 0 ) = − 0 ,1511614

f ( x1 ) = −0,070171

f ( x i )( x i − x i − 1 )
ii) Para x i +1 = x i i=0, 1, 2, 3, …
f ( x i ) − f ( x i −1 )

0,070171( −9,1 − 9)
R/Valores x 2 = 9,1 − ⇒ x 2 = −9,18664
0,070171 − 0,15116

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


0,0866 < 10 −3 NO!!!

2º ITERACIÓN
i) f ( x 1 ) = 0 , 701715

f 1 ( x2 ) = 0,001792

0,001792(9,18664 − 9,1)
ii) R/Valores x3 = 9,18664 −
0,001792 − 0,07017)

x3 = 9,18891

−3
iii) ERROR // 9 ,18664 − 9 ,18891 // < 10

0,002271 < 10−3 NO!!!

Aux. Jhonny-Nina-Gutiérrez Pág. 8/9


Métodos Numérico I Facultad Nacional de Ingeniería

Resumiendo en
TABLA
i xi Xi+1 ERROR
0 9 9,1 -
1 9,1 9,18664 0,08664
2 0,18664 9,18891 0,00227
3 9,18891 9,18894 2,7 x10−5 < 10 −3 ¡CUMPLE!

C = 9,1889414 Sol.

Aux. Jhonny-Nina-Gutiérrez Pág. 9/9

También podría gustarte