You are on page 1of 17

TAREA N 5

DIFERENCIACION
1. Resolver:
Para el caso del soporte sea 3:
x
F(x)

F(x)=sen(x);
F(x)=cos(x)

F(x)=

F ( x 0) F (x 0h)
h

Diferencia Regresiva
F(0.6)=(sen(0.7)-sen(0.6))/0.1
F(0.6)=(0.6442-0.5646)/0.1
F(0.6)=0.796

0.5
0.44794

0.6
0.5646

0.7
0.6442

Diferencia Regresiva
F (0.6) = (sen (0.6)-sen (0.5))/0.1
F (0.6) = (0.5646-0.4794)/0.1
F (0.6) =0.852
2. Resolver:

x 0, x 1, x 2

8.1<8.3<8.5

F(x) =x*ln(x)
F(x) =8.1*ln (8.1) =16.94409889
F(x) =8.3*ln (8.3) =17.56492077
F(x) =8.5*ln (8.5) =18.19056239
F(x)=ln(x)+1
F(x)=1/x
F (8.3) =2.1162

Aplicando la primera derivada:


F (

x i ) = (f( x i+1 ) - f( x i1 ))/2*h

F (8.3) = (f(8.5) - f(8.1))/2*h


2.61162=(1819056-16.94410)/2*h
h=3.396

Aplicando la segunda derivada:


2

F (8.3) = (f(8.5) - 2f(8.3)+ f(8.1)/ h

1.205=18.191-2*17.565+16.944/ h
h=0.0644
3. Dada la funcin hallar:

f ( x) =

x + x2

Hallar el valor aproximado de

f (2) , con un h = 0.1

f ( x)

=[

f (xi +1)

f (xi1 ) ] / 2h

Pero el valor verdadero de la derivada es:

f ( x )=2 x +1
De aqu :

f ( 2)

= 2(2) + 1 = 5

f ( 1.9 )=1.92+1.92

= 3.51

f ( 2.1 )=2.12 +2.12 = 4.51


Entonces

f ( 2 ) = [

f (2.1)

f (1.9) ] / 2(0.1) = = [4.51- 3.51] / 0.2 = 5

Salen los valores exactamente iguales .


4. Resolver:

f ( x) =

2 x 3 + x1

Hallar el valor aproximado de

f (x)

=[

f ( xi +1)

f (2) , con un h = 0.1

2 f (x i ) +

Pero el valor verdadero de la derivada es:

f ( x )=6 x 2 +1
f (x)

= 12x

De aqu :

f left (2 right )

= 12(2) = 24

Pero

1.9
2( 3)+1.91
f ( 1.9 ) =

= 14.618

2.1
2( 3)+2.11
f ( 2.1 ) =

= 19.622

2
2( 3)+21
f ( 2 ) =

= 17

f ( xi ) ] /

h2

Entonces

f (2)

=[

f (2.1)

2 f (2)

f (1.9) ] /

0.1 = [14.618 2(17) +19.622]/

Salen los valores exactamente iguales y por lo tanto el error resulta ser cero

INTEGRACION
1. Usar la regla del trapecio para aproximar:
6

dx
cosx
x +1
0

a. Dividiendo en un solo intervalo

f ( 0 )=

cos ( 0)
=1
0+ 1

f ( 6 )=

cos (6)
=0.1371672
6 +1

dx =( 60 )
cosx
x +1
0

( f ( 0) +2 f ( 6) )=( 6 ) ( 1+ 0.1371672
)=3.4115016
2

0.1

= 24

b. Dividiendo en 6 intervalos

f ( 0 )=

cos ( 0)
=1
0+ 1

f ( 6 )=

cos (6)
=0.1371672
6 +1

P={0,1,2,3,4,56 }

f ( 1 )=

cos (1)
=0.2701512
1+1

f ( 2 )=

cos (2)
=0.1387156
2+1

f (3)=

cos (3)
=0.2474981
3+1

f ( 4 )=

cos ( 4)
=0.1307287
4 +1

f ( 5) =

cos ( 5)
=0.04717703
5+1

dx =( 60 )
cosx
x +1
0

) (

f ( 0 ) +2 ( f ( 1 ) + f (2 )+ f ( 3 ) +f ( 4 ) + f ( 5 ) )+ f ( 6 )
1+2(0.27015120.13871560.24749810.1307287+0.04717703)+ 0.1
=( 6 )
2( 6)
2(6)

2. Usar la regla de Simpson 1/3 para aproximar.


4

3 x e x dx
0

a. Dividiendo en un solo intervalo

f ( 0 )=3 0 e0 =1
3

f ( 4 )= 4 e =86.669161
4

3 x e x dx=( 40 )
0

( f ( 0 )+6 f ( 4 ) )=( 4 )( 1+86.669161


)=82.60511
6

b. Dividiendo en 4 intervalos

f ( 0 )=3 0 e0 =1
3

f ( 4 )= 4 e =86.669161

P={0,1,2,3,4 }

f ( 1 )= 1 e =2.7182818

f ( 2 )= 3 2 e 2=9.3096273
3

f ( 3 ) =3 e =20.085537

PM ={0.5,1 .5,2.5,3 .5 }
3

0.5

f ( 0.5 ) = 0.5 e =1.3085909

f ( 1.5 )= 3 1.5 e 1.5=5.1302533


3

2.5

f ( 2.5 ) = 2.5 e =16.534188

f ( 3.5 ) =3 3.5 e 3.5=50.279008


f ( 1 ) +f ( 2 ) +f ( 3 )

f ( 0.5 ) +f ( 1.5 ) +..+ f (3.5)


f ( 0 )+4 ( +2()+f ( 6 ) 2 ( 6 ) )=76.94497

3 x e x dx=( 40 )
0

3. Usar la regla de Simpson 3/8.


4

(lnx)3 dx
2

a. Usando un solo intervalo

f ( 2 )=(ln 2) =0.3330247
f ( 3 ) =( ln 3)3=1.325969
3

f ( 4 )=(ln 4) =2.6641972
4

(lnx)3 dx=( 42 )
0

( f ( 2) +3 f8( 3) + f (4 ) )=( 2) ( 0.3330247+3.977907+2.6641972


)=2.76591
8

b. Dividiendo en 4 intervalos.

P={2,3,4 }

9 10 11
13 14 15
2< < < <3< < < < 4
4 4 4
4 4 4

9
9 3
=( ln ) =0.02380885
4
4

()

10
10
=(ln ) =0.7693073
4
4

( )

11
11 3
=(ln ) =1.035208
4
4

( )

13
13
f
=(ln ) =1.6374201
4
4

( )

14
14 3
=(ln ) =1.9661051
4
4

( )

15
15 3
f
=( ln ) =2.3091583
4
4

( )

(lnx)3 dx=( 42 )
2

9
10
11
13
14
15
+ f ( ) +f ( )+f ( )+ f ( )+f ( ) +2 f ( 3 )+ f ( 4)
(
)
( 4 4 4 4 4 4)
=2.76502

f ( 2 ) +3 f

8( 4)

4. Integrar las siguientes tablas de datos.

X
F(x)

-4
-8

-1
-3

0
1

1
2.5

1.5
-5

2
-1

2.5
6

a.

I 1 = f ( x ) dx=
4

( f (1) +2 f (4) ) (14 )=16.5

, Por mtodo del trapecio

( f (1)+ 46f ( 0) + f ( 1) ) (1(1))=1.16666666667

I 2 = f ( x ) dx =
1

2.5

I 3 = f ( x ) dx=( 2.5(1) )
1

, Por el mtodo Simpson 1/3

( f ( 1) +3 f ( 1.5) +38 f ( 2) + f ( 2.5 ) )=1.78125

, Por el mtodo Simpson 3/8

2.5

f ( x ) dx=17.11458333333
4

b.
X
F(x)

-3
4.1

-2
2.5

-1
0.3

0
-0.4

0.5
-1

1
-3.6

1.5
0

3
2.3

4.5
5.9

I 1 = f ( x ) dx=( 0(3) )
3

1.5

I 2 = f ( x ) dx=( 1.5(0) )
0

( f (3 )+ 3 f (28) +3 f (1) + f ( 0 ) )=4.537


( f ( 0 )+ 3 f ( 0.5) +38 f ( 1) +f ( 1.5) )=2.6625

4.5

I 3 = f ( x ) dx=( 4.5(1.5))
1.5

, Por el mtodo Simpson 3/8

, Por el mtodo Simpson 3/8

f ( 1.5 ) +4 f ( 3 ) + f ( 4.5 )
=7.55 , Por el mtodo Simpson 1/3
6

4.5

f ( x ) dx=9.425
3

5. Usar el algoritmo de integracin de Romberg para aproximar,


6

ln x ln( x +1)dx
1

a. Usando el 1,2 y 4 intervalos.


Con 1 intervalo:
nivel 1

nivel 2

nivel 3

nivel 4

8.71650733959
2084

Con 2 intervalos:

nivel 1
8.7165073395

nivel 2

nivel 3

92084
9.0688848308

9.1863439946

76620

38131

nivel 4

Con 4 intervalos:

nivel 1
8.716507339

nivel 2

nivel 3

592084
9.068884830

9.186343994

876620
9.136084028

638131
9.158483761

9.153287277

796612
9.149266735

436608
9.153660971

832387
9.153339451

9.156626412

572123

163960

812451

556507

La aproximacin buscada es: 9.156626412556507

nivel 4

b. Agregando al inciso anterior, 8 intervalos.


Con 8 intervalos:
nivel 1
1 8.716507339

nivel 2

nivel 3

nivel 4

nivel 5

nivel 6

nivel 7

nivel 8

592
2 9.068884830

9.186343994

876
3 9.136084028

638
9.158483761

9.156626412

796
4 9.149266735

436
9.153660971

556
9.153339451

9.153287277

572
5 9.152182255

163
9.153154096

812
9.153120304

832
9.153116825

9.153116157

937
6 9.152881698

058
9.153114845

385
9.153112228

854
9.153112100

415
9.153112082

9.153112078

228
7 9.153054585

658
9.153112214

965
9.153112039

784
9.153112036

254
9.153112035

271
9.153112035

9.153112035

415
8 9.153097681

477
9.153112046

065
9.153112035

051
9.153112035

797
9.153112035

751
9.153112035

741
9.153112035

9.15328727783

794

615

560

558

558

558

2387

449

La aproximacin es: 9.153287277832387

6. Aproxime la integral del ejercicio anterior tomando

nivel 2

1
2

592084
9.068884830

9.186343994

876620
9.136084028

638131
9.158483761

9.1566264125

796612
9.149266735

436608
9.153660971

56507
9.1533394518

9.1531872778

572123

163960

12451

32387

El error es:

I jkI j ,k1
x 100 <
I j ,k

nivel 3

como cota suficiente.

nivel 1
8.716507339

La aproximacin es: 9.153187277832387

||=

=0.001

nivel 4

=0.000570002650203