Solve the given problem:
Problem: Consider a star of mass M=10Msun, composed entirely of fully ionized C-12. Its core temperature is 6*10^8K. Use the classical ideal gas law, the dimensional relation between mass, density, and radius, and the virial theorem to find the scaling of the stellar radius r* with total mass M, mean particle mass m(bar) and core temperature Tc.
Part A: Using the values of these parameters for the Sun, derive the radius of the star.
Please explain all work and steps for help to derive the radius of the star.