Академический Документы
Профессиональный Документы
Культура Документы
( f ( a) + f ( b ) )
2
1 3 ( 2 )
h f ( )
12
Ejemplo 1:
Utilizar la regla del trapecio para aproximar la integral:
Solucin
f ( x ) d x ( ba )
( f ( a )+2 f ( b) )
a=0
b=1
Por lo tanto tenemos que:
x2
e d x( 10 )
Error estimado:
Ea =
1
( 5.43656 ) ( 10 )3= 0.453046
12
Ejemplo 2:
Utilizar la regla del trapecio para aproximar la integral:
1 3 xd x
2
Solucin
f ( x ) d x ( ba )
( f ( a )+2 f ( b) )
a=1
b=2
Por lo tanto tenemos que:
3 x d x( 21 )
( ba)
n
Frmula:
I = ( b a )
Error:
Ea =
1 3 ( 2 )
h f ( )
12
Ejemplo 1:
n1
f ( x0 ) + 2
i=1
( f ( xi ) + f ( x n ) )
2n
Solucin
n1
f ( x0 ) + 2
i=1
( f ( xi ) + f ( x n ) )
2n
a=0
b=1
h=
( b a)
n
h=
( 10 ) 1
=
5
5
i
0
1
2
3
4
5
xi
0
1/5
2/5
3/5
4/5
1
f(xi)
1.0000
1.0408
1.1735
1.4333
1.8965
2.7183
e x d x( b a )
e d x( 10 )
f ( x 0 ) + 2 ( f ( x 1 ) +f ( x 2 ) + f ( x 3 ) + f ( x 4 ) ) + f ( x 5 )
2n
( ( ) ( ) ( ) ( ))
f ( 0 )+ 2 f
I =1
1
2
3
4
+f
+ f
+ f
5
5
5
5
2n
+ f ( 1)
1+ 2 ( 5.5441 ) + 2.7183
=1.4807
2 ( 5)
Error exacto:
Et =1.462651.4807=0.01805 t=0.0123 %
Error estimado:
Ea =
1 3 ( 2 )
1
h f ( )=
( 10 )3 ( 5.43656 )=0.018121
12
12 ( 5 )2
Ejemplo 2:
y queda:
=