Está en la página 1de 34

UNIVERSIDAD NACIONAL AUTONOMA DE CHOTA

FACULTAD DE CICIENCIAS DE LA INGENIERIA

ESCUELA PROFESIONAL DE INGENIERIA CIVIL

CURSO: MÉTODOS NUMÉRICOS

DOCENTE: Ing. JAVIER RUBEN SABINO NORABUENA

ALUMNO: DALÍ SALVADOR SÁNCHEZ MEDINA


CONJUNTO DE EJERCICIOS 3.1
4. Aplique el método de Neville para obtener las aproximaciones del ejercicio 3.
a. f (8.4) si f (8.1) = 16.944 10, f (8.3) = 17.56492, f (8.6) = 18.505 15, f (8.7) = 18.8209 1.

( x  xi  j )Qi , j 1  ( x  xi )Qi 1, j 1 ( x  x1 )Q2,0  ( x  x2 )Q1,0


Qi , j  Q2,1 
xi  xi  j x2  x1

f ( x0 )  f (8.3)  1756492  Q0,0 (8.4  8.3)(18.82091)  (8.4  8.6)(18.50515)


Q2,1 
8.7  8.6
f ( x1 )  f (8.6)  18.50515  Q1,0 Q2,1  17.87363
f ( x2 )  f (8.7)  18.82091  Q2,0
f ( x3 )  f (8.1)  16.94410  Q3,0 ( x  x2 )Q3,0  ( x  x3 )Q2,0
Q3,1 
x3  x2
(8.4  8.7)(16.94410)  (8.4  8.1)(18.82091)
grado  1 Q3,1 
8.1  8.7
i  1, 2,3
Q3,1  17.882505
j 1
x  8.4
( x  x0 )Q1,0  ( x  x1 )Q0,0
Q1,1 
x1  x0
(8.4  8.3)(18.50515)  (8.4  8.6)(1756492)
Q1,1 
8.6  8.3
Q1,1  17.87833
grado  2
i  2,3
j2
( x  x0 )Q2,1  ( x  x2 )Q1,1
Q2,2 
x2  x0
(8.4  8.3)(17.87363)  (8.4  8.7)(17.87833)
Q2,2 
8.7  8.3 grado  3
Q2,2  17.877155 i3
j 3
( x  x1 )Q3,1  ( x  x3 )Q2,1 ( x  x0 )Q3,2  ( x  x3 )Q2,2
Q3,2  Q3,3 
x3  x1 x3  x0
(8.4  8.6)(17.882505)  (8.4  8.1)(17.87363) (8.4  8.3)(17.877180)  (8.4  8.1)(17.877155 )
Q3,2  Q3,3 
8.1  8.6 8.1  8.3
Q3,2  17.877180 Q3,3  17.877143
b). f (-1/3) si f (-0.75) = -0.07 18 1250, f (-0.5) = -0.02475000, f (-0.25) = 0.334993750,
f (O) = 1.10100000.

DESARROLLO POR EL METODO DE NEVILLE

( x  xi  j )Qi , j 1  ( x  xi )Qi 1, j 1 Q1,1 


( x  x0 )Q1,0  ( x  x1 )Q0,0
Qi , j  x1  x0
xi  xi  j 1 1
(  (0.5))(0.33499375)  (   (0.25))( 0.024750)
f ( x0 )  f (0.5)  0.024750  Q0,0 Q1,1  3 3
0.25  ( 0.5)
f ( x1 )  f ( 0.25)  0.33499375  Q1,0 Q1,1  0.2150792

f ( x2 )  f (0.0)  1.1010000  Q2,0 ( x  x1 )Q2,0  ( x  x2 )Q1,0


Q2,1 
f ( x3 )  f (0.75)  0.07181250  Q3,0 x2  x1
1 1
(  (0.25))(1.1010000)  (   0)(0.33499375)
grado  1 Q2,1  3 3
i  1, 2,3 0  (0.25)
Q2,1  0.07965833
j 1
1
x
3
( x  x1 )Q3,1  ( x  x3 )Q2,1
( x  x2 )Q3,0  ( x  x3 )Q2,0 Q3,2 
Q3,1  x3  x1
x3  x2
1 1
1 1 (  (0.25))(0.5797500)  (   ( 0.75))(0.07965833)
(  0)(0.07181250)  (  (0.75))(1.1010000)
Q3,2  3 3
Q3,1  3 3
(0.75)  (0.25)
0.75  0
Q3,1  0.5797500 Q3,2  0.1630069

grado  3
grado  2
i3
i  2,3 j 3
j2 ( x  x0 )Q3,2  ( x  x3 )Q2,2
Q3,3 
( x  x0 )Q2,1  ( x  x2 )Q1,1 x3  x0
Q2,2 
x2  x0 1 1
1 1 (  (0.5))(0.1630069)  (   (0.75))(0.1699389)
(  (0.5))(0.07965833)  (  0)(0.2150792) Q3,3  3 3
Q2,2  3 3 (0.75)  (0.5)
0  (0.5)
Q2,2  0.1699389
Q3,3  0.1745602
CONJUNTO DE EJERCICIOS 3.2
14.
b. En 1930 la población fue aproximadamente de 123 203 000. ¿Cuál es, a su juicio, la exactitud de las cifras
correspondientes a los años de 1965 y 2010?

PRIMERAS DIFERENCIAS DIVIDIDAS


F(x)=
X= AÑO
POBLACIÓN
f  x1   f  x0 
0 1930 123203
f  x0 , x1  
1 1940 132165 x1  x0
2 1950 151326
132165  123203
3 1960 179323 f  x0 , x1  
4 1970 203302 1940  1930
5 1980 226542 f  x0 , x1   896.2  a1
6 1990 249633

p1 ( x)  f  x0   a1 ( x  x0 )
p1 ( x)  f  x0   f  x0 , x1  ( x  x0 )
Utilizamos el método de las DIFERENCIAS DIVIDIDAS para
desarrollarlo
p1 (1965)  123203  896.2(1965  1930)
p1 (1965)  154570
f  x2   f  x1  f  x4   f  x3  SEGUNDAS DIFERENCIAS DIVIDIDAS
f  x1 , x2   f  x3 , x4  
x2  x1 x4  x3
203302  179323 f  x1 , x2   f  x0 , x1 
151326  132165 f  x3 , x4   f  x0 , x1 , x2  
f  x1 , x2   1970  1960 x2  x0
1950  1940
f  x3 , x4   2397.9 1916.1  896.2
f  x1 , x2   1916.1 f  x0 , x1 , x2  
1950  1930
p1 (1965)  191312.5 f  x0 , x1 , x2   50.995
p1 ( x)  f  x1   f  x1 , x2  ( x  x1 ) P2 ( x)  f  x0   f  x0 , x1  ( x  x0 )  f  x0 , x1 , x2  ( x  x0 )( x  x1 )
f  x5   f  x4 
p1 (1965)  132165  1916.1(1965  1940) f  x4 , x5   P2 ( x)  123203  896.2(1965  1930)  50.995(1965  1930)(1965  1940)
x5  x4 P2 ( x)  199190.63
p1 (1965)  180067.5 226542  203302
f  x4 , x5  
1980  1970
f  x3   f  x2  f  x4 , x5   2324
f  x2 , x3  
x3  x2
199323  151326 p1 (1965)  191682
f  x2 , x3  
1960  1950
f  x6   f  x5 
f  x2 , x3   2799.7 f  x5 , x6  
x6  x5
p1 (1965)  193321.5 249633  226542
f  x5 , x6  
1990  1980
f  x5 , x6   2309.1

p1 (1965)  191905.5
SEGUNDAS DIFERENCIAS DIVIDIDAS
f  x4 , x5   f  x3 , x4 
f  x1 , x2   f  x0 , x1  f  x3 , x4 , x5  
f  x0 , x1 , x2   x5  x3
x2  x0
f  x3 , x4 , x5   3.695
1916.1  896.2
f  x0 , x1 , x2   P2 ( x)  191404.88
1950  1930
f  x0 , x1 , x2   50.995 f  x5 , x6   f  x4 , x5 
P2 ( x)  f  x0   f  x0 , x1  ( x  x0 )  f  x0 , x1 , x2  ( x  x0 )( x  x1 )
f  x4 , x5 , x6  
x6  x4
P2 ( x)  123203  896.2(1965  1930)  50.995(1965  1930)(1965  1940)
f  x4 , x5 , x6   0.745
P2 ( x)  199190.63
P2 ( x)  191626.13
f  x2 , x3   f  x1 , x2 
f  x1 , x2 , x3  
x3  x1
2799.7  1916.1
f  x1 , x2 , x3  
1960  1940
f  x1 , x2 , x3   44.18
P2 ( x)  196635

f  x3 , x4   f  x2 , x3 
f  x2 , x3 , x4  
x4  x2
f  x2 , x3 , x4   20.09
P2 ( x)  191814.75
TERCERAS DIFERENCIAS DIVIDIDAS

f  x1 , x2 , x3   f  x0 , x1 , x2  f  x3 , x4 , x5   f  x2 , x3 , x4 
f  x0 , x1 , x2 , x3   f  x2 , x3 , x4 , x5  
x3  x0 x5  x2
44.18  50.995
f  x0 , x1 , x2 , x3   f  x2 , x3 , x4 , x5   0.5465
1960  1930
f  x0 , x1 , x2 , x3   0.2271667 P3 ( x)  191609.81
P3 ( x)  f  x0   f  x0 , x1  ( x  x0 )  f  x0 , x1 , x2  ( x  x0 )( x  x1 )
f  x4 , x5 , x6   f  x3 , x4 , x5 
 f  x0 , x1 , x2 , x3  ( x  x0 )( x  x1 )( x  x2 ) f  x3 , x4 , x5 , x6  
x6  x3
P3 ( x)  123203  896.2(1965  1930)  50.995(1965  1930)(1965  1940)
f  x3 , x4 , x5 , x6   0.0983333
 (0.2271667)(1965  1930)(1965  1940)(1965  1950)
P3 ( x)  196209.06 P3 ( x)  191441.75

f  x2 , x3 , x4   f  x1 , x2 , x3 
f  x1 , x2 , x3 , x4  
x4  x1
20.09  44.18
f  x1 , x2 , x3 , x4  
1970  1940
f  x1 , x2 , x3 , x4   2.1423333
P3 ( x)  192618.13
CUARTAS DIFERENCIAS DIVIDIDAS

f  x1 , x2 , x3 , x4   f  x0 , x1 , x2 , x3 
f  x0 , x1 , x2 , x3 , x4  
x4  x0
2.1423333  (0.2271667)
f  x0 , x1 , x2 , x3 , x4  
1970  1930
f  x0 , x1 , x2 , x3 , x4   0.0478792
P4 ( x)  f  x0   f  x0 , x1  ( x  x0 )  f  x0 , x1 , x2  ( x  x0 )( x  x1 )
 f  x0 , x1 , x2 , x3  ( x  x0 )( x  x1 )( x  x2 )
 f  x0 , x1 , x2 , x3 , x4  ( x  x0 )( x  x1 )( x  x2 )( x  x3 )
P4 ( x)  123203  896.2(1965  1930)  50.995(1965  1930)(1965  1940)
 (0.2271667)(1965  1930)(1965  1940)(1965  1950)
 (0.0478792)(1965  1930)(1965  1940)(1965  1950)(1965  1960)
P4 ( x)  193066.99

f  x2 , x3 , x4 , x5   f  x1 , x2 , x3 , x4 
f  x1 , x2 , x3 , x4 , x5  
x5  x1 f  x3 , x4 , x5 , x6   f  x2 , x3 , x4 , x5 
0.5465  (2.1423333) f  x2 , x3 , x4 , x5 , x6  
f  x1 , x2 , x3 , x4 , x5   x6  x2
1980  1940
f  x1 , x2 , x3 , x4 , x5   0.0672208 f  x2 , x3 , x4 , x5 , x6   0.0112042
P4 ( x)  191987.93 P4 ( x)  191546.79
QUINTAS DIFERENCIAS DIVIDIDAS

f  x1 , x2 , x3 , x4 , x5   f  x0 , x1 , x2 , x3 , x4 
f  x0 , x1 , x2 , x3 , x4 , x5  
x5  x0
0.0672208  (0.0478792)
f  x0 , x1 , x2 , x3 , x4 , x5   f  x2 , x3 , x4 , x5 , x6   f  x1 , x2 , x3 , x4 , x5 
1980  1930 f  x1 , x2 , x3 , x4 , x5 , x6  
x6  x1
f  x0 , x1 , x2 , x3 , x4 , x5   0.0023020
0.0112042  0.0672208
f  x1 , x2 , x3 , x4 , x5 , x6  
P5 ( x)  f  x0   f  x0 , x1  ( x  x0 )  f  x 0 , x1, x 2 ( x  x 0 )( x  x1) 1990  1940
f  x1 , x2 , x3 , x4 , x5 , x6   0.0015685
 f  x0 , x1 , x2 , x3  ( x  x0 )( x  x1 )( x  x 2 )
P5 ( x)  191767.36
 f  x0 , x1 , x2 , x3 , x4  ( x  x0 )( x  x1 )( x  x 2 )( x  x 3 )
 f  x0 , x1 , x2 , x3 , x4 , x5  ( x  x0 )( x  x1)( x  x 2 )( x  x 3 )( x  x 4 )
 f  x0 , x1 , x2 , x3 , x4 , x5  ( x  x0 )( x  x1)( x  x 2 )( x  x3 )( x  x4 )( x  x5 )

P5 ( x)  123203  896.2(1965  1930)  50.995(1965  1930)(1965  1940)


 (0.2271667)(1965  1930)(1965  1940)(1965  1950)
 (0.0478792)(1965  1930)(1965  1940)(1965  1950)(1965  1960)
 0.0023020(1965  1930)(1965  1940)(1965  1950)(1965  1960)(1965  1970)
P5 ( x)  192311.65
SECTAS DIFERENCIAS
DIVIDIDAS
f  x1 , x2 , x3 , x4 , x5 , x6   f  x0 , x1 , x2 , x3 , x4 , x5 
f  x0 , x1 , x2 , x3 , x4 , x5 , x6  
x6  x0
0.0015685  0.002302
f  x0 , x1 , x2 , x3 , x4 , x5 , x6  
1990  1930
f  x0 , x1 , x2 , x3 , x4 , x5 , x6   0.0000645

P6 ( x)  f  x0   f  x0 , x1  ( x  x0 )  f  x0 , x1 , x2  ( x  x0 )( x  x1 )
 f  x0 , x1 , x2 , x3  ( x  x0 )( x  x1 )( x  x2 )
 f  x0 , x1 , x2 , x3 , x4  ( x  x0 )( x  x1 )( x  x2 )( x  x3 )
 f  x0 , x1 , x2 , x3 , x4 , x5  ( x  x0 )( x  x1 )( x  x2 )( x  x3 )( x  x4 )
 f  x0 , x1 , x2 , x3 , x4 , x5  ( x  x0 )( x  x1 )( x  x2 )( x  x3 )( x  x4 )( x  x5 )
 f  x0 , x1 , x2 , x3 , x4 , x5 , x6  ( x  x0 )( x  x1 )( x  x2 )( x  x3 )( x  x4 )( x  x5 )( x  x6 )
P6 ( x)  123203  896.2(1965  1930)  50.995(1965  1930)(1965  1940)
 (0.2271667)(1965  1930)(1965  1940)(1965  1950)
 (0.0478792)(1965  1930)(1965  1940)(1965  1950)(1965  1960)
 0.0023020(1965  1930)(1965  1940)(1965  1950)(1965  1960)(1965  1970)
 (0.0000645)(1965  1930)(1965  1940)(1965  1950)(1965  1960)(1965  1970)(1965  1980)
P6 ( x)  191994.15
15). Si se tiene
P2 ( x)  f  x0   f  x0 , x1  ( x  x0 )  f  x0 , x1 , x2  ( x  x0 )( x  x1 )
Pn ( x)  f  x0  
P2 ( x)  f  x0  f  x0 , x1  ( x  x0 )
Pn ( x)  f  x0   f  x0 , x1  ( x  x0 )  a2 ( x  x0 )( x  x1 ) f  x0 , x1 , x2   
( x  x0 )( x  x1 ) ( x  x0 )( x  x1 )
 a3 ( x  x0 )( x  x1 )( x  x2 )
 an ( x  x0 )( x  x1 )( x  x2 )( x  x3 )(....  xn 1 ) P2 ( x)  f  x0  f  x0 , x1 
f  x0 , x1 , x2   
( x  x0 )( x  x1 ) ( x  x1 )
Use Pn ( x2 ) para demostrar a2  f  x0 , x1 , x2 

sabemos por definición


P1 ( x)  f  x0   a1 ( x  x0 )  f  x1   f  x1   f  x0   f  x0 , x1  ( x  x0 ) sabamos que P2 ( x )  f  x2 
donde Pn ( x)  f  x0   f  x0 , x1  ( x  x0 )  a2 ( x  x0 )( x  x1 )
f  x1   f  x0 
a1  f  x0 , x1  
x  x0
Pn ( x)  f  x0  f  x0 , x1 
a2  
( x  x0 )( x  x1 ) ( x  x1 )
para hallar P ( x2 ) utilizaremos la siguiente ecuación 3.10
f  x2   f  x0  f  x0 , x1 
n
a2  
Pn ( x)  f  x0    f  x0 , x1 ,...., xk ( x  x0 )....( x  xk 1 ) ( x2  x0 )( x2  x1 ) ( x2  x1 )
k 1

2
por lo tan to a2  f  x0 , x1 , x2 
P2 ( x)  f  x0    f  x0 , x1 ( x  x0 )....( x  xk 1)
k 1
1 2
P2 ( x)  f  x0    f  x0 , x1 ( x  x0 )   f  x0 , x1, x 2 ( x  x 0 )( x  x1)
k 1 k 1
CONJUNTO DE EJERCICIOS
12. Estudie la siguiente tabla de 4.1
datos.
X 0.2 0.4 0.6 0.8 1.0
F(x) 0.9798652 0.9177710 0.808038 0.6386093 0.3843735

a. Aplique las fórmulas adecuadas para aproximar f'(0.4) y


f"(0.4).

SOLUCIÓN
para h  0.2 y x0  0.4
Primero aplicamos la fórmula de la diferencia progresiva f ( x0  h)  f ( x0 )
f ´( x0 ) 
f ( x0  h)  f ( x0 ) h h
f ´( x0 )   f ´´( ) f (0.2  0.4)  f (0.4)
h 2 f ´(0.4)   0.5486650
0.2
para h  0.6 y x0  0.4 para h  0.2 y x0  0.4
f ( x0  h)  f ( x0 ) f ( x0  h)  f ( x0 )
f ´( x0 )  f ´( x0 ) 
h h
f (0.4  0.6)  f (0.4) f (0.2  0.4)  f (0.4)
f ´(0.4)   0.8889958 f ´(0.4)   0.3104710
0.6 0.2
para h  0.4 y x0  0.4 Resumen
f ( x0  h)  f ( x0 )
f ´( x0 )  h 0.2 0.4 0.6 -0.2
h
f (0.4  0.4)  f (0.4) F(x0) -0.5486650 -0.6979043 -0.8889958 -0.3104710
f ´(0.4)   0.6979043
0.4
Usamos las formulas de los tres puntos

1 h2
1) f ´( x0 )  3 f ( x0 )  4 f ( x0  h)  f ( x0  2h)   f ´´´( )
2h 3
1 h2
2) f ´( x0 )   f ( x0  h)  f ( x0  h)   f ´´´( )
2h 6
para h  0.2 y x0  0.4
1
1) f ´( x0 )  3 f ( x0 )  4 f ( x0  h)  f ( x0  2h)
2h
1
f ´(0.4)  3 f (0.4)  4 f (0.6)  f (0.8)   0.39942575
2(0.2)
para h  0.2 y x0  0.4 para h  0.2 y x0  0.4
1 1
f ´( x0 )   f ( x0  h)  f ( x0  h) f ´´(0.4)  2 
f (0.4  0.2)  2 f (0.4)  f (0.4  0.2) 
2h (0.2)
1
f ´( x0 )   f (0.6)  f (0.2)  0.4295680 f ´´(0.4)  1.190970
2(0.2)
para hallar f ´´(0.4) usamos la formula 4.8
1
2 
f ´´( x0 )  f ( x0  h)  2 f ( x0 )  f ( x0  h) 
h
12. Estudie la siguiente tabla de
datos
X 0.2 0.4 0.6 0.8 1.0
F(x) 0.9798652 0.9177710 0.808038 0.6386093 0.3843735
para h  0.4 y x0  0.6
f ( x0  h)  f ( x0 )
f ´( x0 ) 
b. Aplique las fórmulas adecuadas para aproximar f'(0.6) y h
f"(0.6). f (0.4  0.6)  f (0.6)
f ´(0.6)   1.0591613
Primero aplicamos la fórmula de la diferencia progresiva 0.4
para h  0.2 y x0  0.6
f ( x0  h)  f ( x0 ) h f ( x0  h)  f ( x0 )
f ´( x0 )   f ´´( ) f ´( x0 ) 
h 2 h
f (0.6  0.2)  f (0.6)
f ´(0.6)   0.8471435
0.2
para h  0.2 y x0  0.6
f ( x0  h)  f ( x0 )
f ´( x0 ) 
h
f (0.6  (0.2))  f (0.6)
f ´(0.6)   0.548665
0.2
para h  0.4 y x0  0.6
f ( x0  h)  f ( x0 )
f ´( x0 ) 
h
f (0.6  ( 0.4)  f (0.6)
f ´(0.6)   0.429568
0.4
Usamos las fórmulas de los tres puntos
1 h2
1) f ´( x0 )  3 f ( x0 )  4 f ( x0  h)  f ( x0  2h)   f ´´´( )
2h 3
1 h2
2) f ´( x0 )   f ( x0  h)  f ( x0  h)   f ´´´( )
2h 6
para h  0.2 y x0  0.6
1
1) f ´( x0 )  3 f ( x0 )  4 f ( x0  h)  f ( x0  2h)  para h  0.2 y x0  0.6
2h
1 1
f ´(0.6)  3 f (0.6)  4 f (0.8)  f (1.0)   0.6351258 f ´( x0 )   f ( x0  h)  f ( x0  h)
2(0.2)
2h
para h  0.2 y x0  0.6
1
f ´( x0 ) 
1
3 f ( x0 )  4 f ( x0  h)  f ( x0  2h) 
f ´(0.6)   f (0.8)  f (0.4)  0.6979043
2(0.2)
2h
1
f ´(0.6)  3 f (0.6)  4 f (0.4)  f (0.2)   0.6677620
2(0.2)
para h  0.4 y x0  0.6
1
f ´( x0 )   f ( x0  h)  f ( x0  h)
2h
1
f ´(0.6)   f (1.0)  f (0.2)  0.7443646
2(0.4)
Usamos las fórmulas de los cinco puntos
1
f ´( x0 )   f ( x0  2h)  8 f ( x0  h)  8 f ( x0  h)  f ( x0  2h) 
12h
para h  0.2 y x0  0.6
1
f ´(0.6)   f (0.2)  8 f (0.4)  8 f (0.8)  f (1.0) 
12(0.2)
f ´(0.6)  0.6824175
para hallar f ´´(0.6) usamos la formula 4.8
1
f ´´( x0 )  2  f ( x0  h)  2 f ( x0 )  f ( x0  h) 
h
para h  0.4 y x0  0.6
1
2 
f ´´(0.6)  f (0.2)  2 f (0.6)  f (1.0) 
(0.4)
f ´´(0.6)  1.5739831
para h  0.2 y x0  0.6
1
2 
f ´´( x0 )  f ( x0  h)  2 f ( x0 )  f ( x0  h) 
h
1
2 
f ´´(0.6)  f (0.4)  2 f (0.6)  f (0.8) 
(0.2)
f ´´(0.6)  1.4923925
CONJUNTO DE EJERCICIOS 4.2
12
e) utilice la parte (d) para demostrar que

k1  k3  k5  ...  0 en la fórmula Ahora resolvemos la parte “e”

e  N (h)  k1h  k 2 h 2  k3h 3  k 4h 4  k 5h 5  ...., e  N (h)  k1h  k2 h 2  k3h 3  k4 h 4  k5 h5  ...., ecuación inicial
de mod o que la fórmula se reduce a ahora con (h)

e  N (h)  k 2 h 2  k 4 h 4  k 6 h 6  .... e  N (h)  k1 (h)  k2 (h) 2  k3 (h)3  k4 (h) 4  k5 (h)5  ....,


sumamos ambas ecuaciones sabiendo que N (h )  N ( h )
Solución :
2e  2 N (h)  2k 2 h 2  2k4 h 4  2k6 h 6  ..... divi dim os t odo entre 2
según la parte ´d´ demuestre que N(-h) =N(h); para esta parte e  N (h)  k 2 h 2  k 4 h 4  k6 h6  .....
atizamos la ecuación inicial de la parte “a”.
por lo tan to k1  k3  k5  ....  0
1
 2h h
Ya que todos los kn cuándo “n” es impares, será igual a 0
lim    e ahora reemplazamos el valor de N(-h) = N(h)
h 0 2  h
 
1 1

 2  (  h)  h  2h  h
N  h       por la propiedad de exp onente
 2  (  h)   2  h) 
1
 2h  h
negativo tenemos N  h    
 2  h) 
12
f) Use los resultados de la parte “e” y una extrapolación para calcular
una
aproximación O(h
2 ) de “e”
4 con h=0.04. N1  0.02   N1  0.04 
6

e  N (h)  k2 h  k4 h  k6 h  .....
6
N 2 (0.04)  N1  0.02  
3
tenemos O( h6 )  O(h 2 j ) 2.7183724  2.7186444
2j 6 N 2 (0.04)  2.7183724 
3
j  3 para el desarrollo j  2,3 con la fórmula N 2 (0.04)  2.7182817
h
N j 1    N j 1  h  reemplazamos h  0.02 para j  2
h 2
N j (h)  N j 1   
2 4 j 1  1 h
N j 1    N j 1  h 
h 2
reemplazamos h  0.04 para j  2 N j (h)  N j 1   
2 4 j 1  1
h
N j 1    N j 1  h   0.02 
h
N j (h)  N j 1    2 N 21    N 21  0.02 
 0.02   2 
2 4 j 1  1 N 2 (0.02)  N 2 1   2 1
 2  4 1
 0.04 
N 21    N 21  0.04  N  0.01  N1  0.02 
 0.04 
N 2 (0.04)  N 21   2  N 2 (0.02)  N1  0.01  1
 2 1 3
 2  4 1
2.7183045  2.7183724
N 2 (0.02)  2.7183045 
3
N 2 (0.02)  2.7182819
reemplazamos h  0.04 para j  3
h
N j 1    N j 1  h 
h 2
N j (h)  N j 1   
2 4 j 1  1
 0.04 
N 31    N 31  0.04 
 0.04   2 
N 3 (0.04)  N 31   31
 2  4 1
N  0.02   N 2  0.04 
N 3 (0.04)  N 2  0.02   2
15
2.7183045  2.7183724
N 3 (0.04)  2.7183045 
15
N 3 (0.04)  2.7182766
Hallamos el error si
e  2.7182818
E  e  N 3 (0.04)
E  2.7182818  2.7182766
E  0.0000052
E  0.52 *105
CONJUNTO DE EJERCICIOS 4.4

2) Aplique la regla compuesta de Simpson para aproximar las integrales del


ejercicio 1
2
a)  1
( x) ln( x)dx para n  4
si la formula de la regla compuesta de Simpson es:
b h ( n /2) 1 n /2 
 f ( x)dx   f (a )  2  f ( x2 j )  4 f ( x2 j 1 )  f (b) 
a 3 j 1 j 1 
ba
si h 
n
ba  ( n /2) 1 n /2 
 
b
a
f ( x)dx  
3n 
f ( a )  2
j 1
f ( x 2j )  4
j 1
f ( x2 j 1 )  f (b ) 

a  1  x0 ; b  2; n  4
b  a 2 1
h   0.25
n 4
f ( x)  ( x) ln( x)
x0  1 ; x1  1.25 ; x2  1.5 ; x3  1.75 ; x4  2
f ( x0 )  0 ; f ( x1 )  0.2789294 ; f ( x2 )  0.6081977 ; f ( x3 )  0.9793276
f ( x4 )  1.3862944
2 1  (4/2) 1 4/2 
 f (1)  2  f ( x2(1) )  4 f ( x2 j 1 )  f (2) 
2

1
( x) ln( x)dx 
3(4)  j 1 j 1 
1
0  2* f ( x2 )  4* f ( x1 )  4* f ( x3 )  f (2)
2
1 ( x) ln( x)dx 
12
1
0  2(0.6081977)  4(0.2789294)  4(0.9793276)  (1.3862944)
2
1 ( x ) ln( x ) dx 
12
2

1
( x) ln( x)dx  0.6363098 valor aproximado

hallamos el valor real


2
2  x2 1 2
1 ( x ) ln( x )dx  2

ln( x )  x 
4 1
2 4 1 1 1
1 ( x ) ln( x )dx 
2
ln(2) 
4
(4) 
2
ln(1) 
4
(1)  0.6362944 valor r e al
2) Aplique la regla compuesta de Simpson para aproximar las
integrales del ejercicio 1
2
b)  2
( x3 )e( x ) dx para n  4

h ( n /2) 1 n /2 
f ( x)dx   f (a )  2  f ( x2 j )  4 f ( x2 j 1 )  f (b) 
b
 a 3 j 1 j 1 
ba
si h 
n
b ba  ( n /2) 1 n /2 
 a
f ( x)dx  
3n 
f ( a )  2  f ( x 2j )  4  f ( x 2 j 1 )  f (b ) 
j 1 j 1 
a  2  x0 ; b  2; n  4
b  (a ) 2  (2)
h  1
n 4
f ( x )  ( x 3 )e ( x )
x0  2 ; x1  1 ; x2  0 ; x3  1 ; x4  2

f ( x0 )  1.0826823 ; f ( x1 )  0.3678794 ; f ( x2 )  0 ; f ( x3 )  2.7182818


f ( x4 )  59.1124488
2  (2)  (4/2) 1 4/2 
 
2
 ( x )e dx     
3 ( x)
 f ( 2) 2 f ( x2(1) ) 4 f ( x2 j 1 ) f (2) 
1 3(4)  j 1 j 1 
4
 f (2)  f ( x2 )  4* f ( x1 )  4* f ( x3 )  f (2)
2
1 ( x 3 )e( x ) dx 
12
1
1.0826823  0  4(0.3678794 )  4(2.7182818)  (59.1124488)
2
1 
3 ( x)
( x ) e dx
3
2

1
( x 3 )e( x ) dx  22.4771254 valor aproximado

hallamos el valor real


2 2

1
( x 3 )e( x ) dx  e ( x )  x 3  3x 2  6 x  6 
2
2

1
( x 3 )e( x ) dx  e ( x )  x 3  3x 2  6 x  6   e ( x )  x 3  3x 2  6 x  6   19.9208530 valor r e al
CONJUNTO DE EJERCICIOS 5.2
11. En un libro titulado Looking at History Through Mathematics, Rushevsky. Se propone un modelo de un problema
referente a la aparición de no conformistas de la sociedad. Suponga que una sociedad tiene una población de x(t)
individuos en el tiempo t, en años, y que todos los no conformistas que tienen relaciones sexuales con otros no
conformistas engendran hijos que también son no conformistas, mientras que una proporción fija r del resto de los hijos
también son nos conformistas. Si supone que las tasas de natalidad y mortalidad de todos los individuos son las
constantes b y d, respectivamente, y si los conformistas y no conformistas tienen relaciones sexuales al azar, el problema
se puede expresar mediante las ecuaciones diferenciales:

dx(t ) dx (t )
 (b  d ) x(t ) y n  b  d ) xn (t )  rb( x(t )  xn (t ))
dt dt
donde xn (t ) denota la cantidad de no conformistas de la población en el tiempo t
a) si introducimos la variable p(t)=xn(t)/x(t) para representar la proporción de no
conformistas de la sociedad en el tiempo t, demuestre que estas ecuaciones pueden
combinarse y simplificarse en la ecuación diferencial individual.

dp(t )
 rb(1  p (t ))
dt
dx(t )
 (b  d ) x(t ) ......I
dt
dxn (t )
 (b  d ) xn (t )  rb( x(t )  xn (t )) ......II
dt

donde xn (t ) denota la cantidad de no conformistas de la población en el tiempo t


dp (t )
 rb(1  p (t ))
dt
x (t )
p (t )  n y xn (t )  p (t ) * x(t )
x(t )
dp (t )
 p (t ) * x(t )
dt  dp (t ) 
dp (t )  p (t ) * x(t )  x(t )    (b  d ) p (t ) * x(t )  rb( x(t )  p(t ) * x(t ))  p (t )(b  d ) x(t )
d   dt 
dt  dt
 dp (t ) 
 dt   (b  d ) p (t )  rb(1  p(t ))  p (t )(b  d )
 p (t ) * x(t )  xn (t )
d   d ( )
 dt  dt  dp (t ) 
x (t )  dx(t )   dp (t )   dt   rb(1  p (t )) se desmostro
d ( n )  p(t )   x ( t )
dt  dt   dt 
x (t )  dx(t )   dp (t ) 
d ( n )  p(t )   x (t )  dt  .....III
dt  dt 
reemplazamos I y II en III
11
b. Suponiendo que p(0)=0.01, b=0.02, d=0.015 y r=0.1, aproxime la solución p(t) de t=0
a t=50 cuando el tamaño de paso es h=1 año.

Reemplazamos los datos en las ecuaciones diferenciales:

dx(t ) x(t )  e0.005t 4.6051702


 (0.02  0.015) x(t )
dt dxn (t )
dx(t )  (0.003) xn (t )  (0.002)(e0.005t 4.6051702 )
 (0.005) x(t ) dt
dt
p (0)  0.01  x(0)  
dxn (t ) dx
 (0.02  0.015) xn (t )  (0.1)(0.02( x(t )  xn (t ))  f (t , x)  (0.003) x  (0.002)(e0.005t 4.6051702 )
dt dt
dxn (t )
 (0.005) xn (t )  (0.002)( x(t )  (0.002) xn (t ))
dt
dxn (t )
 (0.003) xn (t )  (0.002)( x(t ))
f (ti , wi )  (0.003) wi  (0.002)(e 0.005ti  4.6051702 )
dt
h  1 ti  a  ih  0  i *1  i w0    0.01
wi 1  wi  hf (ti , wi ) ; i  0,1, 2,...., 49
para i  0
w1  w0  hf (t0 , w0 )  0.01  1(0.003*0.01)  (0.002)(e 0.005*0 4.6051702 )
w1  0.0100500

para i  1
w2  w1  hf (t1 , w1 )  0.0100500  1(0.003*0.0100500)  (0.002)(e0.005*1 4.6051702 )
w2  0.0101003

para i  2
w3  w2  hf (t2 , w2 )  0.0101003  1(0.003*0.0101003)  (0.002)(e0.005*2 4.6051702 )
w3  0.0101508
para i  49
w50  w49  hf (t49 , w49 )  0.0137933  1(0.003*0.0137933)  (0.002)(e 0.005*49 4.6051702 )
w50  0.0138602
x50  e 0.005*50 4.6051702  0.0128403
erroe  w50  x50
erroe  0.0138602  0.0128403  0.0010199
GRACIAS

También podría gustarte