Está en la página 1de 7

2) Agregue otra línea a la tabla de extrapolación del ejercicio 1

para obtener la aproximación N4(h).


b) f (x) = x + ex, x0 = 0.0, h = 0.4
SOLUCIÓN
N 1 ( h )=N ( h )

1
N 1 ( h )= [f ( x +h )−f ( x−h ) ]
2h
1 1
N 1 ( 0,4 )=
2∗0,4
[ f ( 0+0,4 )−f ( 0−0,4 ) ] →
2∗0,4
[ 0.4 +ⅇ−0,4 −(−0.4+ ⅇ−0,4 ) ] =2.026880815

N1( h2 )=N ( h2 )
h 1
N ( ) = [f ( x+ h )−f ( x−h ) ]
1
2 2h
1 1
N 1 (0.2)= [f ( 0+ 0.2 )−f ( 0−0.2 ) ]→ ¿
2∗0.2 2∗0.2

(−0.2+ ⅇ−0,2)] = 2.006680013

N1( h4 )=N ( h4 )
h 1
N ( )= [f ( x+ h )−f ( x−h ) ]
1
4 2h
1 1
N 1 (0.1)= [f ( 0+ 0.1 )−f ( 0−0.1 ) ]→ ¿
2∗0.1 2∗0.1

(−0.1+ ⅇ−0,1)] = 2.001667500

N1( h8 )=N ( h8 )
h 1
N ( ) = [f ( x+ h )−f ( x−h ) ]
1
8 2h
1 1
N 1 (0.05)= [ f ( 0+ 0.05 )−f ( 0−0.05 ) ]→ ¿
2∗0.05 2∗0.05

(−0.05+ ⅇ−0,05)] = 2.000416719

Calculamos N 2 (h)
h
N j−1 ( h2 )−N j−1 (h)
N j ( h )=N j−1 ()
2
+
4
j−1
−1

h
N1 ( h2 )−N ( h )
1
N 2 ( h )=N 1 () 2
+
3
2.006680013−2.026880815
N 2 ( h )=2.006680013+ =1.999946411
3

h h
N1 ( 4h )−N ( h2 )
1
N2() ()
2
=N 1
4
+
3

h 2.001667500−2.006680013
N ( ) =2.001667500+
2 =1.999996662
2 3

h h
N ( )−N ( ) 1 1
h h 8 4
N ( )=N ( )+
2 1
4 8 3

h 2.000416719−2.001667500
N ( )=2.000416719+
2 =1.999999791
4 3

Calculamos N 3 (h)

h
N j−1 ( h2 )−N j−1 (h)
N j ( h )=N j−1 ()
2
+
4
j−1
−1

h
N2 ( h2 )−N ( h)2
N 3 ( h )=N 2
2 ()
+
15
1.999996662−1.999946411
N 3 (h)=1.999996662+ =2.000000012
15

h h
N2 ( h4 )−N ( h2 )
2
N3( ) ( ) 15
2
=N 2
4
+

h 1.999999791−1.999996662
N ( ) =1.999999791+
3 =2.000000000
2 15

Calculamos N 4 (h)

h
N j−1 ( h2 )−N j−1 (h)
N j ( h )=N j−1 ()
2
+
4
j−1
−1
h
N3 ( h2 )−N ( h )
3
N 4 ( h )=N 3 ()
2
+
63
2.000000000−2.000000012
N 4 (h)=2.000000000+ =2.000000000
63
N 4 (h)=2.000000000

f ( x )=x +ⅇ x → f ' ( x )=x ' + x '∗ⅇ x → 1+ⅇ x →1+ⅇ 0=2.000000000

● Error ¿ 2−2=0

15) En el año 200 antes de Cristo, Arquímedes utilizo los


semiperímetros de polígonos regulares con k lados que inscriben
y circunscriben el círculo unitario para aproximar π, es decir, la
circunferencia de un semicírculo. Se puede usar la geometría para
demostrar que la secuencia de semiperímetros inscritos y
circunscritos {pk} y {Pk}, respectivamente, satisfacen
Pk =k sen ( πk ) y P =k tan ( πk ) ,
k

con pk < π < Pk siempre que k ≥ 4

c) Aproxime π con una exactitud de 10-4 calculando para ello pk y


Pk hasta que Pk – pk <10-4.
SOLUCIÓN

Aproximar π con una exactitud de 104 calculando para ello pk y Pk


hasta que pk −P k ≤ 10− 4 .
Solución:
Para ello se remplaza los valores de k por el de 4; 8; 32; 64; 128; 256 y 512.
Los resultados se muestran en la siguiente tabla:

k 4 8 16 32 64 128 256 512


3.121445 3.1411277
pk 2√2 3.0614675 3.1365485 3.1403312 3.1415138 3.1415729
2 3

3.182597
Pk 4 3.3137062 3.1517249 3.1441184 3.1417504 3.1417504 3.1416321
9
Donde
P512 − p512 =3.1416321−3.1415729=0.0000591 locual es menor 10−4

14) Suponga que N1 (h) es una fórmula que produce


aproximaciones O (h) a un número M y que M = N 1 (h) + k1 h +
k2 h2 + … para un conjunto de constantes positivas K1, K2 …,
Entonces N1 (h), N1 {h / 2}, N1 (h / 4), ... son todas cotas
inferiores de M. ¿Qué puede decirse sobre las aproximaciones
extrapoladas N2 (h), N3 (h), ...?
SOLUCIÓN

M =N 1 ( h ) +k 1 h+ k 2 h 2+ k 3 h3+ 1… … … … … … … … … … ….1

Suponiendo que la formula se aplica para cualquier h positivo, reemplazando el


parámetro
h por h/2 en la ecuación 1.

h h h 2 h 3
M =N 1 () () () ()
2
+K
1 2
+K2
2
+K3
2
+…………………………2

Multiplicamos a la ecuación 2 por 2

h h2 h3
2 M =2 N 1 ()
2 ( ) ( )
+ K 1 h+ K 2
2
+k 3
4
+…………………………3

Donde restaremos la ecuación 3 menos la ecuación 1

h h2 h3
M =2 N 1 ()
2 ( 2 ) (
−N 1 ( h ) + K 2 −h2 + K 3
4 )
−h 2 +… … … … … … … … … … 4

M =¿

h h
N 2 ( h )=N 1 h N 3=[N 1 () ()
2
+N1
2
−N 1 h]
1) Use la técnica de extrapolación que se describe en el ejemplo 1
para determinar N3 (h), una aproximación a f ' (x0), para las
siguientes funciones y tamaños de paso.
c) f (x) = 2x sen x, x0 = 1.05, h = 0.4
SOLUCIÓN

N 1 ( h )=N ( h )

1
N 1 ( n )= [f ( x0 + h )−f ( x 0−h ) ]
2h
1
N1 (0 , 4)= [f ( 1.05+ 0.4 )−f ( 1.05−0.4 ) ]
2 ( 0. 4 )
1
N1 (0 , 4)= ¿
( 0. 8 )
Para obtener f (1.45) y f (0.65) reemplazamos en la ecuación f ( x )=2 x sen x

1
N1 (0 , 4)= [2.7121718−0.9496393]
( 0. 8 )

N 1 ( 0.4 )=2.2031656

N1 ( h2 )=N ( h2 )
1
N 1 ( 0 ,2 ) = [ f ( 1.05+ 0.2 )−f ( 1.05−0.2 ) ]
2 ( 0. 2 )

1
N 1 ( 0 ,2 ) = [f ( 1.25 )−f (0.85)]
0.4

1
N 1 ( 0 ,2 ) = [2.2570785−1.3541836]
0.4

N 1 ( 0 ,2 ) =2.2572373

N1 ( h4 )=N ( h4 )
1
N 1 ( 0 ,1 ) = [f ( 1.05+0.1 ) −f ( 1.05−0.1 ) ]
2 ( 0. 1 )

1
N 1 ( 0 ,1 ) = [f ( 1.15 )−f (0.95)]
0 .2

1
N 1 ( 0 ,1 ) = [2. 02555−1.5714152]
0.2

N 1 ( 0 ,1 ) =2.270674

N 1 ( h /2 ) −N 1 ( h )
N 2 ( h )=N 1 ( h/2 ) +
3

N 1 ( 0.2 ) −N 1 ( 0.4 )
N 2 ( 0.4 ) =N 1 ( 0.2 ) +
3

2.2572373−2.2031656
N 2 ( 0.4 ) =2.2572373+
3

N 2 ( 0 , 4 )=2.2752612

N 1 ( h /4 ) −N 1 ( h /2 )
N 2 ( h/2 )=N 1 ( h/4 ) +
3

N 1 ( 0.1 )−N 1 ( 0.2 )


N 2 ( 0.2 )=N 1 ( 0.1 )+
3

2.270674−2.2031656
N 2 ( 0.2 )=2.270674+
3

N 2 ( 0 ,2 ) =2.2751529

N 2 ( h /2 )−N 2 ( h )
N 3 ( h )=N 2 ( h/2 ) +
15

N 2 ( 0.2 )−N 2 ( 0.4 )


N 3 ( 0.4 ) =N 2 ( 0.2 ) +
15
2.2751529−2.2752612
N 3 ( 0.4 ) =2.2751529+
15

⸫ N 2 ( 0 ,2 ) =2.2751 457 → f ( x )=2 x senx , x 0=1,05

f ' ( x )=2 x ln 2 senx +2 x cos x

f ' ( 1 .0 5 ) =2.2751 458

También podría gustarte