Derive flight path angle from orbital elements

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 5K views
h4tt3n
Messages
10
Reaction score
0
Hello everyone,

During the last few days I've been working to solve a "small" problem I hope someone here might be better at than I am.

I'm writing a function that returns the state vectors of an orbiting body of neglible mass based on the orbital elements semimajor axis, semiminor axis, argument of periapsis, and true anomaly. The function works in two dimensions only.

I have solved the problem so far as to calculate the orbiting body's position vector and velocity vector magnitude, but the direction of the velocity vector - especially the flight path angle - is causing me a headache.

Can someone please help me? I won't mind posting the source code and what math I've used so far, if this will be of any help.

Cheers,
Mike
 
Last edited:
Astronomy news on Phys.org
nevermind, I figured it out.