Você está na página 1de 47

Introdução à Análise de Processos

AULA 05 – ESTRATÉGIAS E TÉCNICAS


COMPUTACIONAIS PARA RESOLUÇÃO DE
PROBLEMAS DE MODELAGEM DA
ENGENHARIA QUÍMICA QUE ENVOLVAM
INTERPOLAÇÃO
CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
INTERPOLAÇÃO LINEAR

Diferença Dividida Finita

CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
EXEMPLO 1

Estime o logaritmo natural de 2 usando


interpolação linear. Primeiramente, faça a
interpolação entre ln 1 e ln 6. Depois, repita o
procedimento, mas usando um intervalo
menor, entre ln 1 e ln 4. Compare o resultado
com o valor de ln 2.

CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
EXEMPLO 1

Estime o logaritmo natural de 2 usando


interpolação linear. Primeiramente, faça a
interpolação entre ln 1 e ln 6. Depois, repita o
procedimento, mas usando um intervalo
menor, entre ln 1 e ln 4. Compare o resultado
com o valor de ln 2.

CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
INTERPOLAÇÃO QUADRÁTICA

CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
PARA 3 PONTOS:

CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
EXEMPLO 2

Ajuste uma equação polinomial de ordem 2 com


base nos três pontos a seguir. Use o polinômio
para estimar o valor de f(2), ou seja, ln 2.

CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
GENERALIZAÇÃO DA INTERPOLAÇÃO POLINOMIAL DAS
DIFERENÇAS DIVIDIDAS DE NEWTON

CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
EXEMPLO 3

Repita o exercício anterior acrescentando um


novo ponto, x3 = 5; y3 = 1,609438. Estime o
valor de ln 2 com uma interpolação polinomial
de Newton de ordem 3.

CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
INTERPOLAÇÃO POLINOMIAL DE LAGRANGE

CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
EXEMPLO 4
Use a interpolação polinomial de Lagrange de
primeira e segunda ordem para estimar o valor
de ln 2 com base nos dados da tabela:

CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
Todos os pontos
1e4 1, 4 e 6
INTERPOLAÇÃO INVERSA

CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
INTERPOLAÇÃO INVERSA

CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
INTERPOLAÇÃO SPLINE

CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
EXEMPLO 5

Interpole o valor de f(2) com os dados da tabela.

CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
EXEMPLO 6

Use interpolação spline cúbica para estima o


valor de f(x), quando x = 5, com base nos
dados da tabela:

CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
INTERPOLAÇÃO MULTIDIMENSIONAL

CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
INTERPOLAÇÃO BILINEAR

CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
INTERPOLAÇÃO BILINEAR

CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
EXEMPLO 7

Suponha que você tenha mensurado a


temperatura na superfície de um prato
retangular aquecido, para um número de
coordenadas (x,y), conforme apresentado em
sequência. Use a interpolação bilinear para
estimar a temperatura em x = 5,25 e y = 4,8.

CHAPRA, Steven C.; CANALE, Raymond P. Numerical methods for engineers. 7th ed.
Boston, MA: McGraw-Hill, c2015.
EXEMPLO 8

Programe uma rotina para interpolar dados de


entalpia de vapor superaquecido da seguinte
tabela, quando um usuário insere dados de
temperatura e pressão.

Você também pode gostar