Está en la página 1de 11

3.

Solucione el siguiente ejercicio utilizando la Regla del Trapecio, la Regla de


Simpson 1/3 y la Regla de Simpson 3/8. Compare los resultados y haga un
pequeo anlisis. (Dividiendo en 4 intervalos)
Regla de Simpson 1/3

2 xx+1 dx
0

Entonces utilizamos la formula


n2
2

f ( x k +1) + 2 f ( x
2

k=1
n2
2

k)

f ( x ) + f ( x ) +4
0

k=0

h
I=
3
Donde

n=4

Para determinar h hacemos:

h=

ba
n

Entonces
h=

10
1
= h=
4
4

Ahora determinamos los dems trminos


x 0=0 , x n=1, x i=x 0 +nh
1 1
x 1=x 0+ nh=0+ 1 =
4 4

1 2 1
x 2=x 0+ nh=0+ 2 = =
4 4 2
1 3
x 3=x 0+ nh=0+ 3 =
4 4
1 4
x 4=x 0 +nh=0+ 4 = =1
4 4

Ahora reemplazamos x en

f ( x )=
0

0
=0
(20)+ 1

1
4
1
f ( x )=
=
( 21 ) +1 12
1

1
2
1
f ( x )=
=
( 22 ) +1 10
2

3
4
3
f ( x )=
=
( 23 ) +1 28
3

f ( x )=
4

1
1
=
( 24 ) +1 9

f (x )=

x
2 x +1

Ahora reemplazamos en la primera formula


n2
2

f ( x k +1) + 2 f ( x
2

k=1
n2
2

k)

f ( x ) + f ( x ) +4
0

k=0

h
I=
3

42
2

f ( x k +1) + 2 f ( x k )
2

k=1
42
2

1
0+ +4
9
k=0
1
4
I=
3

f ( x k +1) + 2 f ( x
2

k=1
1

k)

1
0+ +4
9
k=0
1
4
I=
3

Ahora determinamos

4 f ( x k+1 )
k=0

4 f ( x k+1 )=4[ ( x 2 k +1 ) + ( x 2k
0

k=0

4 f ( x k+1 )=4 [ ( x 1 ) + ( x 3 ) ]=4


2

k=0

+1

)]

([ 14 )+( 34 )]=4 [ 44 ]

4 f ( x k+1 )=4
2

k=0

2 f ( x k)

Ahora resolvemos

k=1

2 f ( x k ) = ( x 2 k ) = ( x 2 )=
1

k=1

1
2

Ahora reemplazamos en :
1

f ( x k +1) + 2 f ( x
2

k=1
1

k)

1
0+ +4
9
k=0
1
4
I=
3

] [

I=

1
1
1
0+ +4 +
12
9
2

I=

1
1
1
1 2+72+9
1 83
0+ +4 + =
=
12
9
2 12
18
12 18

] [ ]

I=

83
=0,384259259
216

Regla de Simpson 3/8


1

2 xx+1 dx
0

Utilizamos la formula
I=

3h
f +3 f ( x ) +3 f ( x ) +f ( x
8 [ (x )
0

Para determinar h hacemos:

h=

ba
3

Entonces
h=

10
1
= h=
3
3
1

Ahora determinamos en

Primero hallamos

f(x )
0

f (x )

en

2 xx+1 dx
0

f ( x )=f (0 )
0

f ( x )=
0

0
=0
2(0)+ 1

Ahora hallamos

x1

x 1=x 0+ h
1 1
x 1=0+ =
3 3
1
1
1
1
3
3
1
= =
1
5 0 5
0
2( )+1
3
3
1

f ( x )=
1

f ( x ) 0.20
1

Ahora hallamos
x 2=x 1+ h
1 1 2
x 2= + =
3 3 3

x2

2
2
1
1
1
3
3
6
2
= = =
2
7
21
7
0
0
0
2( )+1
3
3
1

f ( x )=
2

f ( x ) 0.28571
2

x3

Ahora hallamos
x 3=x 2+ h
2 1 3
x 3= + = =1
3 3 3
1

1
1
=
2( 1)+1
0 3
1

f ( x )=
3

f ( x ) 0.333
3

Reemplazamos en la frmula de Simpson 3/8

I=

3h
f +3 f ( x ) +3 f ( x ) +f ( x
8 [ (x )
0

1
3
I=
[ 0+ ( 30.20 ) +(30.28571)+1 ]
8
3

I=

1
[ 0+ ( 0.60 )+(0,85713)+1 ]
8

1
I = [ 2,457131 ]
8
I =0,30714125

Regla del Trapecio

2 xx+1 dx
0

Utilizamos la formula
f
2( x 2+ f x3 ++ f xn )+ f xn +1
f x 1+

h
f (x) dx=
2
1

Donde

n=4

Para determinar h hacemos:


Entonces

h=

ba
n

h=

10
1
= h=
4
4

Ahora determinamos los dems trminos


x 1=0 , xn =1, x i=x +h

1 1
x 1=x 0+ h=0+ =
4 4
1 1 2 1
x 2=x 1+ h= + = =
4 4 4 2
2 1 3
x 3=x 2+ h= + =
4 4 4
3 1 4
x 4=x 3 +h= + = =1
4 4 4

Ahora reemplazamos x en

f ( x )=
1

0
=0
(20)+1

1
4
1
f ( x )=
=
( 21 ) +1 12
2

f (x )=

x
2 x +1

1
2
1
f ( x )=
=
10
( 22 ) +1
3

3
4
3
f ( x )=
=
28
( 23 )+1
4

f ( x )=
5

1
1
=
( 24 ) +1 9

Reemplazamos en la formula

x
2+
f
++
f xn )+ f xn+1
2(
x3
f x 1+
h
I=
2

1
4
1 1 3
1
I = 0+2( + + )+
2
12 10 28 9

I=

1
61
1
0+ 2(
)+
8
210 9

I=

1 61 1
+
8 105 9

[ ]

I=

1 218
8 315

I=

109
0.08650
1260

También podría gustarte