Autor Beitrag
MoD17
ontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 36

WinXP, RedHat 9
D7 pers, D6 pers
BeitragVerfasst: Di 22.02.05 16:18 
hi!
ich hab mehrere formeln, in denen ortsvektoren von punkten (in meinem fall planeten, da ich für meine facharbeit das 3-körper-problem programmieren soll...) vorkommen, z.b. so:

|ortsvektor_a - ortsvektor_b|^3

wie kann ich so etwas in delphi schreiben?

es ist wirklich dringend, denn die arbeit soll am donnerstag abgegeben werden und ich steh auf dem schlauch!

gruss
MoD17

_________________
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to build bigger and better idiots. So far, the universe is winning." (Rich Cook)
tommie-lie
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 4373

Ubuntu 7.10 "Gutsy Gibbon"

BeitragVerfasst: Di 22.02.05 16:21 
Du stellst deinen Vektor in einem eigenen Record dar und rechnest wie im Matheunterricht mit den einzelnen Komponenten der Vektoren. Delphi selbst stellt keinen Datentyp für Vektoren oder Funktionen für Vektorrechnung zur Verfügung.

_________________
Your computer is designed to become slower and more unreliable over time, so you have to upgrade. But if you'd like some false hope, I can tell you how to defragment your disk. - Dilbert
matze.de
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: Di 22.02.05 16:41 
tommie-lie hat folgendes geschrieben:
Delphi selbst stellt keinen Datentyp für Vektoren oder Funktionen für Vektorrechnung zur Verfügung.


Aber wir Omorphianer :D

Vektorrechnung:cvs.sourceforge.net/...1.38&view=markup

mfg matze

_________________
si tacuisses, philosophus mansisses.
MoD17 Threadstarter
ontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 36

WinXP, RedHat 9
D7 pers, D6 pers
BeitragVerfasst: Di 22.02.05 16:54 
hi!
erstmal danke für die schnellen antworten!

aber der link will leider nicht

_________________
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to build bigger and better idiots. So far, the universe is winning." (Rich Cook)
matze.de
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 576

Win95, Win98 SE, WinXp Prof SP2
D7P, D8P, FPC2.0
BeitragVerfasst: Di 22.02.05 16:58 
MoD17 hat folgendes geschrieben:
aber der link will leider nicht


probiers öfter, die sf server sind wieder total überlastet.

mfg matze

_________________
si tacuisses, philosophus mansisses.
MoD17 Threadstarter
ontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic starofftopic starofftopic star
Beiträge: 36

WinXP, RedHat 9
D7 pers, D6 pers
BeitragVerfasst: Di 22.02.05 17:02 
ok,
thx!

_________________
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs and the universe trying to build bigger and better idiots. So far, the universe is winning." (Rich Cook)