I am modeling a two binary star system, and I am wondering if this is the case.
The way I have it right now is that I first figure out the mass center, and then the radius from each of the planet to the mass center.
I then figure out the acceleration for the first planet with:
$acceleration_1=\frac{\frac{G*m_1*m_2}{(r_1+r_2)^2}}{m_1}$ where $r_1$ and $r_2$, together make the full distance between the planets.
I then figure out the speed by $\frac{v^2}{r_1}=a_1$
The same could be said for the other planet:
$acceleration_2=\frac{\frac{G*m_1*m_2}{(r_1+r_2)^2}}{m_2}$ where $r_1$ and $r_2$, together make the full distance between the planets.
I then figure out the speed by $\frac{v^2_2}{r_2}=a_2$
The distance around the whole circle (The path they will they travel if they travel in a circle) is $r_1π2$ and $r_2π2$
I then figure out the time it takes to rotate one period by dividing distance by speed and then rotate the planets round the radius(from the planet to the mass center) in that time manner.
I now read that because their masses are unequal they are not supposed to rotate in a circle. Have I done this incorrectly?
This is how it looks at the moment: