NLöseDgl (Befehl)

Aus GeoGebra Manual
Version vom 7. Oktober 2017, 17:47 Uhr von Zbynek (Diskussion | Beiträge) (Textersetzung - „;([^\n]*)\[(.*)\]“ durch „;$1($2)“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche


NLöseDgl( <Liste von Ableitungen>, <Startwert x-Koordinate>, <Liste von Anfangswerten der y-Koordinaten>, <Endwert x-Koordinate> )
Findet eine numerische Lösung des Systems von Differentialgleichungen.
Beispiel:
f'(t, f, g, h) = g
g'(t, f, g, h) = h
h'(t, f, g, h) = -t h + 3t g + 2f + t
NLöseDgl[{f', g', h'}, 0, {1,2,-2}, 10]
NLöseDgl[{f', g', h'}, 0, {1,2,-2}, -5]
Beispiel:
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 + sin(t) x2 - 3x3 + t^2
x10 = -0.4
x20 = -0.3
x30 = 1.8
x40 = -1.5
NLöseDgl[{x1', x2', x3', x4'}, 0, {x10, x20, x30, x40}, 20]
Beispiel:
Pendel:
g = 9.8
l = 2
a = 5 (Anfangswert)
b = 3 (Anfangskraft)
y1'(t, y1, y2) = y2
y2'(t, y1, y2) = (-g) / l sin(y1)
NLöseDgl[{y1', y2'}, 0, {a, b}, 20]
L = Länge[NumerischesIntegral1]
c = Schieberegler[0, 1, 1 / L, 1, 100, false, true, true, false]
x1 = l sin(y(Punkt[NumerischesIntegral1, c]))
y1 = -l cos(y(Punkt[NumerischesIntegral1, c]))
A = (x1, y1)
Strecke[(0, 0), A]
StartAnimation[]


Anmerkung: Siehe auch die Befehle Richtungsfeld und LöseDgl.
© 2024 International GeoGebra Institute