Escolar Documentos
Profissional Documentos
Cultura Documentos
Trabalho sobre
Solução Numérica de Equações Diferenciais Ordinárias
(utilizar 4 casas decimais nas respostas)
Tarefa 01:
PVI:
y’ = f(x,y) = 2y/(1+x) + (1+x)3
y(0) = 3
x ԑ [0, 2]
A solução analítica (exata) deste PVI é dada por: y(x) = (1/2)[(1+x) 4 + 5(1+x)2]
Para solucionar este PVI utilize N=10 subintervalos → h = (b-a)/N
Tabela de resultados:
Tarefa 02:
PVI:
y’ = f(x,y) = (1/x)(1+x + 2y)
y(1) = 0.5
x ԑ [1, 2]
Tabela de resultados:
Discretização do intervalo:
. para i = 0, 1, 2, ... , (N-1) onde N = número de subintervalos
F O R M U L Á R I O P A R A E D O:
1º ) Solução pelo Método de Euler: YEULER
Onde:
. k1 = f(xi, yi)
. k2 = f(xi + h/2, yi + hk1/2)
. k3 = f(xi + h/2, yi + hk2/2)
. k4 = f(xi + h, yi + hk3)