Consider the total mass in the galaxy as ,
where, N is the number of stars in the galaxy and M is the mass of the sun.
Now,
Therefore,
The centripetal force on the sun is pointing towards the galactic center,
Ifis the period of the sun’s motion around the galactic center then,
But,
Therefore, according to Newton’s second law,
As,
Hence, the number of starts in the galaxy are
Therefore, using the formula of gravitational force, centripetal force and period, the acceleration of the sun around the galactic center can be found. Using Newton’s second law, the number of stars in the galaxy can be found.