Академический Документы
Профессиональный Документы
Культура Документы
RECIFE
2013
Antony Souza
Daniel Alves
Danielle Silva
Flber Ximenes
Priscila Sobral
RECIFE
2013
SUMRIO
1 MTODO DA INTERPOLAO ..................................................................................... 3
2.1 Tcnica de Lagrange
2 INTEGRAO NUMRICA ............................................................................................. 3
2.1 Regra do Trapzio ............................................................................................................... 8
2.1.1 Regra do Trapzio (Metodologia) .................................................................................... 8
2.2 Regra do Simpson ............................................................................................................... 8
3 CONCLUSO ..................................................................................................................... 9
4 BIBLIOGRAFIA ................................................................................................................. 9
INTRODUO
Este trabalho tem o objetivo de expor alguns mtodos de resoluo. Primeiro, ele traz a
colocao do problema, seguido da metodologia de resoluo e dos resultados e comentrios. Os
mtodos mostrados
f ( x ) =x . tg 2 ( )
1
x
g 2
2 v 0 . cos2 ( )
1.1 RESOLUO:
1 PARTE: Achar tabela no intervalo
Passo(1): Substituir valores dados em f(x)
5 1
x3
f ( x ) =x . tg 2
9,86
3
2
5
5 2 . cos2
3
3
f ( x )= 0,0084 x 0,1981 x
( )
( )
Passo(2): Calcular N.
h=
b a
b a 1,05 1,01 0,04
N=
=
=
=4
N
h
0,01
0,01
f ( x i )= 0,0084 ( x i ) 0,1981( x i )3
f ( x 1 )= 0,0084( x1 ) 0,1981( x 1 )3
3
x i+1 =x i +h
x 2+1 =x 2 +h
x 3 =x 2 +h
x 3 = 1,03+0,01
x 3 = 1,04
Para i=3
x i+1 =x i +h
x 3+1 =x3 +h
x 4 =x 3 +h
x 4 = 1,04+0,01
x 4 = 1,05
f ( x i )= 0,0084 ( x i ) 0,1981( x i )3
f ( x 2 )= 0,0084( x 2 ) 0,1981( x 2 )3
3
f ( x i )= 0,0084 ( x i ) 0,1981( x i )3
f ( x 3 )= 0,0084( x 3 ) 0,1981( x 3 )3
3
Para i=4
f ( x i )= 0,0084 ( x i ) 0,1981( x i )3
f ( x 4 )= 0,0084( x 4 ) 0,1981( x 4 )3
3
xi
1,01
1,02
1,03
1,04
1,05
f ( xi )
0,1956
0,2016
0,2078
0,2141
0,2205
( x x j )
( xk x j)
( x x 1 )( x x 2 )( x x 3 )( x x 4 )
( x0 x 1 )( x 0 x 2 )( x 0 x 3 )( x 0 x 4 )
( x 1,02)( x 1,03)( x 1,04 )( x 1,05 )
L0 ( x )=
( 1,01 1,02 )( 1,01 1,03 )( 1,01 1,04)( 1,01 1,05 )
( x 2 2,05 x+1,0506 )( x 2 2,09 x+ 1,092)
L0 ( x )=
( 0,01 )( 0,02 )( 0,03)( 0,04 )
x 4 4,15 x 3 +6,4271 x 2 4,4343 x+ 1,1472
L0 ( x )=
2,4 . 10 7
( x x 0 )( x x 2 )( x x 3 )( x x 4 )
( x 1 x 0 )( x 1 x 2 )( x 1 x 3 )( x 1 x 4 )
( x 1,01 )( x 1,03 )( x 1,04 )( x 1,05)
L1 ( x )=
( 1,02 1,01 )(1,02 1,03)( 1,02 1,04)( 1,02 1,05)
( x 2 2,04 x+1,0403)( x 2 2,09 x+ 1,092)
L1 ( x )=
( 0,01)( 0,01 )( 0,02)( 0,03)
L1 ( x )=
L1 ( x )=
L 2 ( x )=
( x x 0 )( x x 1 )( x x 3 )( x x 4 )
( x 2 x 0 )( x 2 x 1 )( x 2 x 3 )( x 2 x 4 )
( x 1,01)( x 1,02)( x 1,04)( x 1,05)
L 2 ( x )=
( 1,03 1,01)( 1,03 1,02 )(1,03 1,04)( 1,03 1,05)
( x 2 2,03 x+1,0302 )( x 2 2,09 x+ 1,092)
L 2 ( x )=
( 0,02 )( 0,01)( 0,01 )( 0,02)
x 4 4,12 x 3 +6,3649 x 2 4,3721 x+1,125
L 2 ( x )=
4 . 10 8
( x x 0 )( x x1 )( x x 2 )( x x 4 )
( x 3 x 0 )( x 3 x 1 )( x 3 x 2 )( x 3 x 4 )
( x 1,01 )( x 1,02 )( x 1,03 )( x 1,05)
L3 ( x )=
( 1,04 1,01)( 1,04 1,02 )( 1,04 1,03 )(1,04 1,05)
( x 2 2,03 x+1,0302)( x 2 2,08 x+1,0815 )
L3 ( x )=
( 0,03 )( 0,02)( 0,01 )( 0,01 )
x 4 4,11 x 3 +6,3341 x 2 4,3382 x+ 1,1142
L3 ( x )=
6 .10 8
( x x 0 )( x x 1 )( x x 2 )( x x 3 )
L 4 ( x )=
( x 4 x 0 )( x 4 x 1 )( x 4 x 2 )( x 4 x 3 )
( x 1,01)( x 1,02)( x 1,03)( x 1,04 )
L 4 ( x )=
(1,05 1,01)( 1,05 1,02 )( 1,05 1,03)( 1,05 1,04 )
( x 2 2,03 x+1,0302 )( x 2 2,07 x+1,0712)
L 4 ( x )=
( 0,04)( 0,03 )( 0,02)( 0,01 )
x 4 4,10 x 3 + 6,3035 x 2 4,307 x+1,1035
L 4 ( x )=
2,4 . 10 7
L3 ( x )=
P 4 ( x )= 0,1956
0,2078
0,2205
)
(
(
(
P 4 ( x )= 0,815
0,0519
0,9187
P 4 ( x )=
)
)
)
(
(
(
)
)
)(
(
(
P 4 ( x )=
)(
)
2
2. INTEGRAO NUMRICA
Integrar numericamente uma funo y = f(x) num dado intervalo [a, b] integrar um
polinmio Pn(x) que aproxime f(x) no dado intervalo.
Em particular, se y = f(x) for dada por uma tabela ou, por um conjunto de pares ordenados
(x0, f(x0)), (x1, f(x1)), ..., (xn, f(xn)) (onde os xi podem ser supostos em ordem crescente), x0 = a,
xn = b, podemos usar como polinmio de aproximao para a funo y =f(x) no intervalo [a, b] o seu
polinmio de interpolao.
Em particular, o polinmio de interpolao para a funo y = f(x) no intervalo [a,b], a = x0,
b = xn um polinmio de aproximao para f(x) em qualquer subintervalo[xi, xj],
0 i n, 0 j n do intervalo [a, b].Podemos ento usar o polinmio Pn(x) para integrar f(x) em
qualquer desses subintervalos.
As vantagens de se integrar um polinmio que aproxima y = f(x) ao invs de f(x) so
principalmente duas:
a) F(x) pode ser uma funo de difcil integrao ou de integrao praticamente impossvel,
enquanto que um polinmio sempre de integrao imediata;
b) As vezes a funo dada simplesmente atravs de uma tabela-conjunto de pares ordenados
obtidos como resultados de experincias. A no se conhece a expresso analtica da funo
em termos do argumento x.
Obs.: Se o intervalo [a, b] pequeno, a aproximao razovel; mas se [a, b] grande, o erro
tambm pode ser grande. Neste caso dividimos o intervalo [a, b] em n subintervalos de amplitude
h=
de tal forma que em cada subintervalo [xj, xj+1], j = 0, 1, ..., n1 aplicamos a Regra do
Trapzio.
2.1.1
a) It= /
dx; n=8
h=
h=
h=
/
h= 0,72
x0
x1
1,570
2,290
1,000
0,752
1255,766 -1,142
0,001
0,655
x2
3,010
0,131
-0,132
x3
3,730
-0,555
0,667
x4
4,450
-0,966
3,723
x5
5,170
-0,897
-2,031
x6
5,890
-0,383
-0,415
x7
6,610
0,321
0,339
x8
7,330
0,866
1,731
0,046
-0,126
-0,118
-0,286
-0,070
0,046
0,096
It= /
It= /
dx
,
It= /
It= /
/
b) It=
h=
h=
/
h= 0,92
x0
0,000
0,000
1,000
0,000
x1
0,920
0,779
0,663
0,516
x2
1,840
6,230
-0,970
-6,045
X3
2,760
21,025
0,234
4,924
X4
3,680
49,836
0,560
27,924
X5
X6
X7
x8
4,600
5,520
6,440
7,360
97,336 168,197 267,090 398,688
-0,674
0,585
-0,806
-0,723
-65,607 98,448 -215,360 -288,289
It=
'( dx
,)
/
'( dx 0,46 [0 + 2( 0,516 6,045 + 4,924 + 27,924 65,607 + 98,448 215,360) 288,289]
/
It=
It=
/
It=
'( dx 241,85
2) B.
Usando a regra de 1/3 de Simpson no intervalo [a,b] onde: a = 1 , b = 9/5, x0 = 1 e x2n = 9/5. Temos
a seguinte equao:
Como pede-se 6 intervalos, temos a analise de f(x) em sete pontos que vo de x0 a x6, logo 2n = 6.
Temos que h = a-b/2n;
Logo, h igual : h = (1-9/5)/6 = 0,8/6; h = 0,133.
f(x) =
X0
X1
X2
X3
X4
X5
X6
1,000
1,133
1,267
1,400
1,533
1,667
1,8
f(x)
15.241.514,930
10.250.690,100
7.287.420,044
5.430.405,037
4.187.516,002
3.313.530,418
2.685.294,091
f(x0)
f(x1)
f(x2)
f(x3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(
x
)
.
+
g
(
x
).
g
(
x
)
.
=
4 k 1 k 1 4 k 2 k 2 4 k 3 k 3 4 k 4 k 4 l ( xk ).g 4 ( xk )
k =1
k =1
k =1
k =1
k =1
k =1
k =1
k =1
k =1
k =1
k =1
k =1
k =1
k =1
k =1
k =1
k =1
k =1
k =1
k =1
b1 = l ( xk ).g1 ( xk );
k =1
b2 = l ( xk ).g 2 ( xk );
k =1
(k )
(k )
(k )
(k )
a211 + a22 2 + a23 3 + a24 4 = b2
.
(k )
(k )
(k )
(k )
a311 + a32 2 + a33 3 + a34 4 = b3
a ( k ) + a ( k ) + a ( k ) + a ( k ) = b
42 2
43 3
44 4
4
41 1
b3 = l ( xk ).g 3 ( xk );
k =1
b4 = l ( xk ).g 4 ( xk ).
k =1
b)RESOLUO
1( k +1) = (1 w) 1( k )
w
b1 a12 2( k ) + a13 3( k ) + a14 4( k ) ;
a11
2( k +1) = (1 w) 2( k )
w
b2 a211( k +1) + a23 3( k ) + a24 4( k ) ;
a22
3( k +1) = (1 w) 3( k )
w
b3 a311( k +1) + a32 2( k +1) + a34 4( k ) ;
a33
4( k +1) = (1 w) 4( k )
w
b4 a41 1( k +1) + a 42 2( k +1) + a43 3( k +1) ;
a 44
{ [
]}
{ [
{ [
]}
]}
]}