Suppose that a star is modelled as having a density that decreases linearly from the centre to the surface,
(r) = Ļ_c (1 - r/R),
where Ļ_c is the central density and R is the stellar radius. Show that
m = (4Ļ/3) Ļ_c r^3 (1 - 3r/4R),
where m is the mass enclosed at radius r and thus that
Ļ_c = 3M/(Ļ R^3)
where M is the mass of the star.
(ii) Show that the central pressure is
P_c = 5GM^2/(4Ļ R^4),
where R is the radius of the star.
Hence show that the central temperature is
T_c = (5/12) (μ m_H / k_B) (G M / R).