1
vote
0answers
633 views

Calculating semi-major axis of binary stars from velocity, position and mass

I'm trying to calculate the 'instantaneous' semi-major axis of a binary system with two equal (known) mass stars for an $N$-body simulation. I know their velocities and positions at a given time, but ...