Comando ResuelveNEDO
- ResuelveNEDO( <Lista de derivadas>, <Valor inicial de x>, <Lista de valores iniciales de y>, <Valor final de x> )
-
Resuelve (numéricamente) el sistema de ecuaciones diferenciales
f'(t, f, g, h) = g
g'(t, f, g, h) = h
h'(t, f, g, h) = -t h + 3t g + 2f + t
ResuelveNEDO({f', g', h'}, 0, {1,2,-2}, 10)
ResuelveNEDO({f', g', h'}, 0, {1,2,-2}, -5)
(resuelve el sistema hacia atrás en el tiempo).
x1'(t, x1, x2, x3, x4) = x2
x2'(t, x1, x2, x3, x4) = x3
x3'(t, x1, x2, x3, x4) = x4
x4'(t, x1, x2, x3, x4) = -8x1 + sen(t) x2 - 3x3 + t^2
x10 = -0.4
x20 = -0.3
x30 = 1.8
x40 = -1.5
ResuelveNEDO({x1', x2', x3', x4'}, 0, {x10, x20, x30, x40}, 20)
Péndulo:
g = 9.8
l = 2
a = 5
(posición inicial)
b = 3
(fuerza inicial)
y1'(t, y1, y2) = y2
y2'(t, y1, y2) = (-g) / l sen(y1)
ResuelveNEDO({y1', y2'}, 0, {a, b}, 20)
len = Longitud(IntegralNumérica1)
c = Deslizador(0, 1, 1 / len, 1, 100, false, true, true, false)
x1 = l sen(y(Punto(IntegralNumérica1, c)))
y1 = -l cos(y(Punto(IntegralNumérica1, c)))
A = (x1, y1)
Segmento((0, 0), A)
IniciaAnimación()
Ver también los comandos ResuelveEDO y CampoDirecciones. |