charlie05 said:
here are the two stars of the same weight... so distance in the formula must be 1/2a?
No, you need to use the distance between the centers as the radius of the orbit. The real radius is a/2, but the formula comes from the solution of the "two-body problem", that the motion of two interacting bodies can be treated as the motion of a single body of mass μ=(m
1m
2)/(m
1+m
2) around a central object of mass (m
1+m
2), and at distance equal to the distance between the bodies.
https://en.wikipedia.org/wiki/Two-body_problem
For circular orbit, the solution is very easy: The angular velocity is the same for both bodies, and the centripetal force is equal to the force of gravitational interaction.
If the masses are m1 and m2, the radii (from the CoM ) are r1 and r2, then r1+r2=a, and
##m_1r_1\omega^2=G\frac {m_1m_2}{(r_1+r_2)^2}##
##m_2r_2\omega^2=G\frac {m_1m_2}{(r_1+r_2)^2}##
divide the first equation by m1, the second one by m2, and add the equations together, you get
##a\omega^2=G\frac{m_1+m_2}{a^2}## which is the same equation that would hold for a single mass orbiting around a cental object of mass m1+m2 on a circular orbit of radius a