Está en la página 1de 14

EJERCICIOS INTEGRACIN NUMRICA

METODO DE LO RECTNGULOS
x 0+ h

f ( x ) dx =hf ( x 0 )

x0

Errror

n1

h
( ba)f ' ( ) , con ( a , b )
2

f ( x ) dx=h f ( x i )
0

VALOR VERDADERO
a
b

0 n
1.570796327 h

xi

f(xi)

0
0.052359878
0.104719755
0.157079633
0.20943951
0.261799388
0.314159265
0.366519143
0.41887902
0.471238898
0.523598776
0.575958653
0.628318531
0.680678408
0.733038286
0.785398163
0.837758041
0.890117919
0.942477796
0.994837674
1.047197551
1.099557429
1.151917306
1.204277184
1.256637061
1.308996939
1.361356817
1.413716694
1.466076572
1.518436449
1.570796327

0
0.052335956
0.104528463
0.156434465
0.207911691
0.258819045
0.309016994
0.35836795
0.406736643
0.4539905
0.5
0.544639035
0.587785252
0.629320391
0.669130606
0.707106781
0.743144825
0.777145961
0.809016994
0.838670568
0.866025404
0.891006524
0.913545458
0.933580426
0.951056516
0.965925826
0.978147601
0.987688341
0.994521895
0.998629535
1

f(x) en la sumatoria
0
0.052335956
0.104528463
0.156434465
0.207911691
0.258819045
0.309016994
0.35836795
0.406736643
0.4539905
0.5
0.544639035
0.587785252
0.629320391
0.669130606
0.707106781
0.743144825
0.777145961
0.809016994
0.838670568
0.866025404
0.891006524
0.913545458
0.933580426
0.951056516
0.965925826
0.978147601
0.987688341
0.994521895
0.998629535

sin( x )dx
0

i
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

Sumatoria

18.59422965

1
30
0.052359878

h*sumatoria

0.973591588 ESTIMACION DE LA INTEGRAL

Error

0.026408412

METODO DE LOS TRAPECIOS


x 0+ h

f ( x ) dx =

x0

h
f ( x 0 ) +f ( x 0 +h ) ]
2[

n1

f ( x ) dx= h2 f ( x 0 ) + f ( x n ) +2 f ( xi )
a

VALOR VERDADERO

a
b

0 n
1.570796327 h

xi

f(xi)

f(x) en la sum extremos

0
0.052359878
0.104719755
0.157079633
0.20943951
0.261799388
0.314159265
0.366519143
0.41887902
0.471238898
0.523598776
0.575958653
0.628318531
0.680678408
0.733038286
0.785398163
0.837758041
0.890117919
0.942477796
0.994837674
1.047197551
1.099557429
1.151917306
1.204277184
1.256637061
1.308996939
1.361356817
1.413716694
1.466076572
1.518436449
1.570796327

0
0.052335956
0.104528463
0.156434465
0.207911691
0.258819045
0.309016994
0.35836795
0.406736643
0.4539905
0.5
0.544639035
0.587785252
0.629320391
0.669130606
0.707106781
0.743144825
0.777145961
0.809016994
0.838670568
0.866025404
0.891006524
0.913545458
0.933580426
0.951056516
0.965925826
0.978147601
0.987688341
0.994521895
0.998629535
1

0.052335956
0.104528463
0.156434465
0.207911691
0.258819045
0.309016994
0.35836795
0.406736643
0.4539905
0.5
0.544639035
0.587785252
0.629320391
0.669130606
0.707106781
0.743144825
0.777145961
0.809016994
0.838670568
0.866025404
0.891006524
0.913545458
0.933580426
0.951056516
0.965925826
0.978147601
0.987688341
0.994521895
0.998629535

sin( x )dx

ba 2
h f '' ( ) , con ( a , b )
12

error

1
30
0.052359878

i
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

Sumatoria
37.1884593
1
Suma total
38.1884593
h/2*suma tota 0.999771526 ESTIMACION DE LA INTEGRAL
Error
0.000228474

con ( a , b )

METODO DE SIMPSON (1/3)


x 0+ 2 h

f ( x ) dx=

x0

h
f ( x 0 ) + 4 f ( x 0 + h ) + f ( x 0 + 2h ) ]
3[

n
1
2

n
2

h
f
(
x
)
dx=
f ( x 0 ) +f ( x n ) +2 f ( x 2i ) +4 f ( x 2 i1 )

3
1
1
a
Errror asociado

EL NMERO DE INTERVALOS n, DEBE SER ML

b a 4 iv
h f ( ) , con ( a , b )
180

VALOR VERDADERO

sin( x )dx

a
b

xi
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

0
0.052359878
0.104719755
0.157079633
0.20943951
0.261799388
0.314159265
0.366519143
0.41887902
0.471238898
0.523598776
0.575958653
0.628318531
0.680678408
0.733038286
0.785398163
0.837758041
0.890117919
0.942477796
0.994837674
1.047197551
1.099557429
1.151917306
1.204277184
1.256637061
1.308996939
1.361356817
1.413716694
1.466076572

f(xi)

0 n
1.5707963268 h

F(x) pares
0
0.0523359562
0.1045284633
0.156434465
0.2079116908
0.2588190451
0.3090169944
0.3583679495
0.4067366431
0.4539904997
0.5
0.544639035
0.5877852523
0.629320391
0.6691306064
0.7071067812
0.7431448255
0.7771459615
0.8090169944
0.8386705679
0.8660254038
0.8910065242
0.9135454576
0.9335804265
0.9510565163
0.9659258263
0.9781476007
0.9876883406
0.9945218954

f(x) impares
0
0.0523359562

0.1045284633
0.156434465
0.2079116908
0.2588190451
0.3090169944
0.3583679495
0.4067366431
0.4539904997
0.5
0.544639035
0.5877852523
0.629320391
0.6691306064
0.7071067812
0.7431448255
0.7771459615
0.8090169944
0.8386705679
0.8660254038
0.8910065242
0.9135454576
0.9335804265
0.9510565163
0.9659258263
0.9781476007
0.9876883406
0.9945218954

extremos
0

29 1.518436449
30 1.570796327

0.9986295348
1

0.9986295348
1

Sumatoria
suma total

9.0405683439 9.5536613046
1
suma pares
Suma impares Suma extremos
suma extremos +2*suma pares +4*suma impares
57.295781906
h/3*suma total
1.0000000418 ESTIMACION DE LA INTEGRAL
Error

-4.17699E-008

VALOS n, DEBE SER MLTIPLO DE 2

30
0.052359878

uma extremos

LA INTEGRAL

METODO DE SIMPSON 3/8

n
3

n
3

n
1
3

f ( x ) dx= 38h f ( x 0 )+f ( x n)+3 f ( x3 i2) +3 f ( x 3i1 ) +2 f ( x3 i )


a

VALOR VERDADERO

sin( x )dx

EL NUMERO DE INTERVALO

3 5 iv
h f ( ) , con ( a , b )
80

Error

a
b

0 n
1.570796327 h

30
0.052359878

xi

f(xi)

f(x3i-2)

f(x3i)

0
0.052359878
0.104719755
0.157079633
0.20943951
0.261799388
0.314159265
0.366519143
0.41887902
0.471238898
0.523598776
0.575958653
0.628318531
0.680678408
0.733038286
0.785398163
0.837758041
0.890117919
0.942477796
0.994837674
1.047197551
1.099557429
1.151917306
1.204277184
1.256637061
1.308996939
1.361356817
1.413716694
1.466076572
1.518436449
1.570796327

0
0.052335956
0.104528463
0.156434465
0.207911691
0.258819045
0.309016994
0.35836795
0.406736643
0.4539905
0.5
0.544639035
0.587785252
0.629320391
0.669130606
0.707106781
0.743144825
0.777145961
0.809016994
0.838670568
0.866025404
0.891006524
0.913545458
0.933580426
0.951056516
0.965925826
0.978147601
0.987688341
0.994521895
0.998629535
1

i
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

Sumatoria
suma total

f(x3i-1)

extremos
0

0.052335956
0.104528463
0.156434465
0.207911691
0.258819045
0.309016994
0.35836795
0.406736643
0.4539905
0.5
0.544639035
0.587785252
0.629320391
0.669130606
0.707106781
0.743144825
0.777145961
0.809016994
0.838670568
0.866025404
0.891006524
0.913545458
0.933580426
0.951056516
0.965925826
0.978147601
0.987688341
0.994521895
0.998629535

6.20374456 6.53738272 5.853102368


suma f(x3i-2) Suma f(x3i-1) suma f(x3i) extremos
suma extremos +3*suma f(x3i-2) +3*f(x3i-1)+2*suma f(x3i)
50.92958658

1
1

3h/8*suma tot 1.000000094 ESTIMACION DE LA INTEGRAL


Error

-9.401E-008

EL NUMERO DE INTERVALOS, n, DEBE SER MULTIPLO DE 3

También podría gustarte