
Anthony T. answered 05/26/21
Patient Science Tutor
We can model this as the sun rotating around the mass of the galaxy at the center. The gravitational force on the sun equals the centripetal force of the sun in its rotation about the galaxy center.
G x Msun x Mgalaxy / d2 =Msun x ω2 x d where G is the gravitational constant M the masses, d the distance from the galaxy center to the sun, and ω is the angular velocity of the sun around the galaxy.
We need to change the units of all variables to the mks system.
Msun = 2 x 10^30kg
G = 6.67408 × 10-11 m3 kg-1 s-2
d = 30000 x 9.5 x 1015m
ω = 2 x pi radians / (200 x 106 years x 365 day/year x 24 hrs/day x 3600 sec/ hour) = 1.99 x 10-15 rad/s
Put these variables into the first equation and solve for Mgalaxy.
Mgalaxy = ω2 x d3 / G = (1.99 x 10-15)2 x (30000 x 9.5 x 1015)3 / 6.67408 × 10-11
Mgalaxy = 1.37 x 1016 x 1 x 1026 = 1.4 x 1042 kg CHECK THE MATH!
# of stars = mass of galaxy divided by mass of sun = 1.37 x 1042 / 2 x 1030 = 7 x 1011 stars
This calculation assumed a circular orbit of the sun around the galaxy center.